28 lines
817 B
Kotlin
28 lines
817 B
Kotlin
package com.gh.gamecenter.entity
|
|
|
|
import android.os.Parcelable
|
|
import com.google.gson.annotations.SerializedName
|
|
import kotlinx.parcelize.Parcelize
|
|
|
|
data class CommonCollectionEntity(
|
|
@SerializedName("_id")
|
|
val id: String = "",
|
|
val name: String = "",
|
|
val type: String = "",
|
|
val style: String = "",
|
|
@SerializedName("common_collection_content")
|
|
val collectionList: MutableList<CommonCollectionContentEntity> = mutableListOf()
|
|
)
|
|
|
|
@Parcelize
|
|
data class CommonCollectionContentEntity(
|
|
val title: String = "",
|
|
val style: String = "",
|
|
val image: String = "",
|
|
@SerializedName("link")
|
|
val linkEntity: LinkEntity,
|
|
@SerializedName("added_content_1")
|
|
var addedContent1: String? = "",
|
|
@SerializedName("added_content_2")
|
|
var addedContent2: String? = "",
|
|
): Parcelable |