diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-23 11:47:53 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-23 11:47:53 +0100 |
commit | ac929460d07e0d0ef8c6b4ea569a2b2c6daa3b13 (patch) | |
tree | 60a61b83adfee2a887461a1004f66254c4499b3f /app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt | |
parent | a056ae61750af9f4fa4e3538dfaebc73bd13a82f (diff) |
Refactoring into MVC
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt new file mode 100644 index 0000000..4bd7f2f --- /dev/null +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/model/MangaResponse.kt @@ -0,0 +1,22 @@ +package xyz.adjutor.aniki.presentation.model + +import com.google.gson.annotations.SerializedName + +class MangaResponse { //only kept the infos I didn't have and that were interesting to me. + + @SerializedName("mal_id") + var mal_id: Int? = null + + @SerializedName("chapters") + var chapters: Int? = null + + @SerializedName("synopsis") + var synopsis: String? = null + + @SerializedName("rank") + var rank: Int? = null //added for the search feature (detail) + + @SerializedName("background") + var background: String? = null //a bit of background story about the manga + +} |