Files
TachideskJUI/src/main/kotlin/ca/gosyer/data/models/Chapter.kt
Syer10 57ff9095a8 Rewrite backend
- 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
2021-04-21 16:07:50 -04:00

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
)