37 lines
797 B
Kotlin
37 lines
797 B
Kotlin
package com.gamedog.vididin.beans
|
|
|
|
|
|
data class ZeroBuyResp (
|
|
val Code: Int,
|
|
val Message: String,
|
|
|
|
val UserId: Int,
|
|
val CurrentPurchases: String,
|
|
val FinishedPurchases: String,
|
|
var mCurrentList: List<ZeroBuyItem>?,
|
|
var mFinishedList: List<ZeroBuyItem>?,
|
|
val Content: String,
|
|
var contentObj: ZeroBuyItem?
|
|
)
|
|
|
|
|
|
data class ZeroBuyItem (
|
|
val id:Int = 0,
|
|
val title: String? = null,
|
|
val start_time:Long = 0,
|
|
val end_time:Long = 0,
|
|
val target_num:Int = 0,
|
|
val cost:Int = 0,
|
|
val price: String? = null,
|
|
val image:Int = 0,
|
|
val current_users: List<Int>? = null,
|
|
val winners: List<Int>? = null,
|
|
val redeem_code: String? = null,
|
|
val completed: Boolean = false,
|
|
|
|
// Not from server
|
|
var mCountDownTimeStr: String = ""
|
|
)
|
|
|
|
|