aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/presentation/model/SearchAnime.kt
blob: df5189dda998cca104c8f34e2e128c9aa7b29624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package xyz.adjutor.aniki.presentation.model

import com.google.gson.annotations.SerializedName

class SearchAnime {

    @SerializedName("mal_id")
    var mal_id: Int? = null

    @SerializedName("url")
    var url: String? = null

    @SerializedName("image_url")
    var image_url: String? = null

    @SerializedName("title")
    var title: String? = null

    @SerializedName("episodes")
    var episodes: Int? = null

    @SerializedName("score")
    var score: Float? = null

    @SerializedName("start_date") //we'll maybe remove this later
    var start_date: String? = null

    @SerializedName("end_date") //we'll maybe remove this later
    var end_date: String? = null

}