mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Model updates
This commit is contained in:
@@ -12,6 +12,7 @@ import kotlinx.serialization.Serializable
|
||||
@Serializable
|
||||
@Immutable
|
||||
data class Chapter(
|
||||
val id: Long = -1, // todo remove default
|
||||
val url: String,
|
||||
val name: String,
|
||||
val uploadDate: Long,
|
||||
|
||||
@@ -35,7 +35,9 @@ data class Manga(
|
||||
val realUrl: String?,
|
||||
val inLibraryAt: Long,
|
||||
val unreadCount: Int?,
|
||||
val downloadCount: Int?
|
||||
val downloadCount: Int?,
|
||||
val age: Long? = null, // todo remove default
|
||||
val chaptersAge: Long? = null // todo remove default
|
||||
)
|
||||
|
||||
@Serializable
|
||||
|
||||
Reference in New Issue
Block a user