VidiDin-Android/app/src/main/java/com/gamedog/vididin/beans/ZeroBuyResp.kt

37 lines
797 B
Kotlin
Raw Normal View History

2025-12-08 10:12:28 +00:00
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,
2025-12-09 03:53:33 +00:00
var contentObj: ZeroBuyItem?
2025-12-08 10:12:28 +00:00
)
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,
2025-12-09 06:20:09 +00:00
// Not from server
var mCountDownTimeStr: String = ""
2025-12-08 10:12:28 +00:00
)