|
|
@@ -0,0 +1,163 @@
|
|
|
+package cn.muchinfo.rma.global.data
|
|
|
+
|
|
|
+import android.os.Parcel
|
|
|
+import android.os.Parcelable
|
|
|
+import com.google.gson.annotations.SerializedName
|
|
|
+
|
|
|
+/**
|
|
|
+ * 新品发布
|
|
|
+ */
|
|
|
+data class WrPreSaleInfoData(
|
|
|
+ @SerializedName("presaleapplyid")
|
|
|
+ val presaleapplyid: String? = "", // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ @SerializedName("selluserid")
|
|
|
+ val selluserid: String? = "", // 发行方用户ID
|
|
|
+ @SerializedName("sellaccountid")
|
|
|
+ val sellaccountid: String? = "", // 发行方资金账户ID
|
|
|
+ @SerializedName("deliverygoodsid")
|
|
|
+ val deliverygoodsid: String? = "", // 现货品种ID
|
|
|
+ @SerializedName("warehouseid")
|
|
|
+ val warehouseid: String? = "", // 仓库ID
|
|
|
+ @SerializedName("wrstandardid")
|
|
|
+ val wrstandardid: String? = "", // 现货商品ID
|
|
|
+ @SerializedName("wrfactortypeid")
|
|
|
+ val wrfactortypeid: String? = "", // 仓单要素类型ID - 根据现货商品\仓库生成
|
|
|
+ @SerializedName("wrstandardname")
|
|
|
+ val wrstandardname: String? = "", // 现货商品名称
|
|
|
+ @SerializedName("unitid")
|
|
|
+ val unitid: String? = "", // 单位ID
|
|
|
+ @SerializedName("unitprice")
|
|
|
+ val unitprice: String? = "", // 商品单价
|
|
|
+ @SerializedName("presaleqty")
|
|
|
+ val presaleqty: String? = "", // 预售总量
|
|
|
+ @SerializedName("baseqty")
|
|
|
+ val baseqty: String? = "", // 中签基数
|
|
|
+ @SerializedName("maxbuyqty")
|
|
|
+ val maxbuyqty: String? = "", // 单人最大申购量
|
|
|
+ @SerializedName("maxluckyqty")
|
|
|
+ val maxluckyqty: String? = "", // 单人最大中签量
|
|
|
+ @SerializedName("startdate")
|
|
|
+ val startdate: String? = "", // 预售开始日期
|
|
|
+ @SerializedName("enddate")
|
|
|
+ val enddate: String? = "", // 预售结束日期
|
|
|
+ @SerializedName("takestartdate")
|
|
|
+ val takestartdate: String? = "", // 提货开始日期
|
|
|
+ @SerializedName("thumurls")
|
|
|
+ val thumurls: String? = "", // 缩略图片(1:1)(逗号分隔)
|
|
|
+ @SerializedName("pictureurls")
|
|
|
+ val pictureurls: String? = "", // 详情图片(逗号分隔)
|
|
|
+ @SerializedName("bannerpicurl")
|
|
|
+ val bannerpicurl: String? = "", // Banner图
|
|
|
+ @SerializedName("presalestatus")
|
|
|
+ val presalestatus: String? = "", // 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
|
|
|
+ @SerializedName("lotteryflag")
|
|
|
+ val lotteryflag: String? = "", // 摇号标识 - 0:未摇号 1:已摇号
|
|
|
+ @SerializedName("lotteryqty")
|
|
|
+ val lotteryqty: String? = "", // 摇号总量
|
|
|
+ @SerializedName("luckyqty")
|
|
|
+ val luckyqty: String? = "", // 已中签量
|
|
|
+ @SerializedName("placeqty")
|
|
|
+ val placeqty: String? = "", // 已配售量
|
|
|
+ @SerializedName("marketid")
|
|
|
+ val marketid: String? = "", // 市场ID
|
|
|
+ @SerializedName("sellwrtradeorderid")
|
|
|
+ val sellwrtradeorderid: String? = "", // 发行方卖委托单ID
|
|
|
+ @SerializedName("createtime")
|
|
|
+ val createtime: String? = "", // 创建时间
|
|
|
+ @SerializedName("tradedate")
|
|
|
+ val tradedate: String? = "", // 交易日
|
|
|
+ @SerializedName("warehousecode")
|
|
|
+ val warehousecode: String? = "", // 仓库代码(仓库简称)
|
|
|
+ @SerializedName("warehousename")
|
|
|
+ val warehousename: String? = "", // 仓库名称
|
|
|
+ @SerializedName("username")
|
|
|
+ val username: String? = "", // 发行方用户名称
|
|
|
+ @SerializedName("enumdicname")
|
|
|
+ val enumdicname: String? = "" // 单位名称
|
|
|
+) : Parcelable{
|
|
|
+ constructor(parcel: Parcel) : this(
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString(),
|
|
|
+ parcel.readString()
|
|
|
+ ) {}
|
|
|
+
|
|
|
+ override fun writeToParcel(parcel: Parcel, flags: Int) {
|
|
|
+ parcel.writeString(presaleapplyid)
|
|
|
+ parcel.writeString(selluserid)
|
|
|
+ parcel.writeString(sellaccountid)
|
|
|
+ parcel.writeString(deliverygoodsid)
|
|
|
+ parcel.writeString(warehouseid)
|
|
|
+ parcel.writeString(wrstandardid)
|
|
|
+ parcel.writeString(wrfactortypeid)
|
|
|
+ parcel.writeString(wrstandardname)
|
|
|
+ parcel.writeString(unitid)
|
|
|
+ parcel.writeString(unitprice)
|
|
|
+ parcel.writeString(presaleqty)
|
|
|
+ parcel.writeString(baseqty)
|
|
|
+ parcel.writeString(maxbuyqty)
|
|
|
+ parcel.writeString(maxluckyqty)
|
|
|
+ parcel.writeString(startdate)
|
|
|
+ parcel.writeString(enddate)
|
|
|
+ parcel.writeString(takestartdate)
|
|
|
+ parcel.writeString(thumurls)
|
|
|
+ parcel.writeString(pictureurls)
|
|
|
+ parcel.writeString(bannerpicurl)
|
|
|
+ parcel.writeString(presalestatus)
|
|
|
+ parcel.writeString(lotteryflag)
|
|
|
+ parcel.writeString(lotteryqty)
|
|
|
+ parcel.writeString(luckyqty)
|
|
|
+ parcel.writeString(placeqty)
|
|
|
+ parcel.writeString(marketid)
|
|
|
+ parcel.writeString(sellwrtradeorderid)
|
|
|
+ parcel.writeString(createtime)
|
|
|
+ parcel.writeString(tradedate)
|
|
|
+ parcel.writeString(warehousecode)
|
|
|
+ parcel.writeString(warehousename)
|
|
|
+ parcel.writeString(username)
|
|
|
+ parcel.writeString(enumdicname)
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun describeContents(): Int {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+
|
|
|
+ companion object CREATOR : Parcelable.Creator<WrPreSaleInfoData> {
|
|
|
+ override fun createFromParcel(parcel: Parcel): WrPreSaleInfoData {
|
|
|
+ return WrPreSaleInfoData(parcel)
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun newArray(size: Int): Array<WrPreSaleInfoData?> {
|
|
|
+ return arrayOfNulls(size)
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|