chore: Preparing Manga data class

This commit is contained in:
Ahmad Ansori Palembani 2024-06-17 19:55:43 +07:00
parent 8f07c2d99a
commit 334fbe4631
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 28 additions and 1 deletions

View file

@ -13,6 +13,7 @@ kotlin {
} }
val androidMain by getting { val androidMain by getting {
dependencies { dependencies {
implementation(projects.sourceApi)
} }
} }
} }

View file

@ -0,0 +1,26 @@
package yokai.domain.manga.models
import eu.kanade.tachiyomi.source.model.UpdateStrategy
import java.io.Serializable
data class Manga(
val id: Long?,
val url: String,
val title: String,
val artist: String?,
val author: String?,
val description: String?,
val genre: String?,
val status: Int,
val thumbnailUrl: String?,
val updateStrategy: UpdateStrategy,
val initialized: Boolean,
var source: Long,
var favorite: Boolean,
var lastUpdate: Long,
var dateAdded: Long,
var viewerFlags: Int,
var chapterFlags: Int,
var hideTitle: Boolean,
var filteredScanlators: String?,
): Serializable