mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
- Use Tachiyomi 1.x Preference backend - Switch DI from Koin to Toothpick - Use gradle BuildConfig library to move variables from gradle to the App - Switch from Logback to Log4j2 with slf4j implmenetation - Try to use the same java as the application for the server - Add Run Debug run configuration
27 lines
679 B
Kotlin
27 lines
679 B
Kotlin
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
package ca.gosyer.data.models
|
|
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class Chapter(
|
|
val id: Long,
|
|
val url: String,
|
|
val name: String,
|
|
@SerialName("date_upload")
|
|
val dateUpload: Long,
|
|
@SerialName("chapter_number")
|
|
val chapterNumber: Float,
|
|
val scanlator: String?,
|
|
val mangaId: Long,
|
|
val pageCount: Int? = null,
|
|
val chapterIndex: Int,
|
|
val chapterCount: Int
|
|
)
|