23 lines
No EOL
591 B
Kotlin
23 lines
No EOL
591 B
Kotlin
package ani.dantotsu.profile
|
|
|
|
import ani.dantotsu.connections.anilist.api.Activity
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class User(
|
|
val id: Int,
|
|
val name: String,
|
|
val pfp: String?,
|
|
val banner: String?,
|
|
// for media
|
|
val status: String? = null,
|
|
val score: Float? = null,
|
|
val progress: Int? = null,
|
|
val totalEpisodes: Int? = null,
|
|
val nextAiringEpisode: Int? = null,
|
|
val activity: List<Activity> = mutableListOf(),
|
|
) : java.io.Serializable {
|
|
companion object {
|
|
private const val serialVersionUID: Long = 1
|
|
}
|
|
} |