chore: More storio to sqldelight migration

- insert manga
- update manga
This commit is contained in:
Ahmad Ansori Palembani 2024-06-19 08:53:58 +07:00
parent 28e551de36
commit 5ed2934b73
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
15 changed files with 204 additions and 17 deletions

View file

@ -0,0 +1,25 @@
package yokai.domain.manga.models
import eu.kanade.tachiyomi.source.model.UpdateStrategy
data class MangaUpdate(
val id: Long,
val url: String? = null,
val title: String? = null,
val artist: String? = null,
val author: String? = null,
val description: String? = null,
val genres: List<String>? = null,
val status: Int? = null,
val thumbnailUrl: String? = null,
val updateStrategy: UpdateStrategy? = null,
val initialized: Boolean? = null,
var source: Long? = null,
var favorite: Boolean? = null,
var lastUpdate: Long? = null,
var dateAdded: Long? = null,
var viewerFlags: Int? = null,
var chapterFlags: Int? = null,
var hideTitle: Boolean? = null,
var filteredScanlators: String? = null,
)