|
|
@@ -2,6 +2,7 @@ package cn.muchinfo.rma.global.data
|
|
|
|
|
|
import android.os.Parcel
|
|
|
import android.os.Parcelable
|
|
|
+import com.google.gson.annotations.SerializedName
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
@@ -50,82 +51,158 @@ import android.os.Parcelable
|
|
|
* @constructor
|
|
|
*/
|
|
|
data class ContractData(
|
|
|
+ @SerializedName("accountid")
|
|
|
val accountid: String? = "",
|
|
|
+ @SerializedName("accountname")
|
|
|
val accountname: String? = "",
|
|
|
+ @SerializedName("contracctstatus")
|
|
|
val contracctstatus: String? = "",
|
|
|
+ @SerializedName("contractno")
|
|
|
val contractno: String? = "",
|
|
|
+ @SerializedName("contracttype")
|
|
|
val contracttype: String? = "",
|
|
|
+ @SerializedName("convertfactor")
|
|
|
val convertfactor: String? = "",
|
|
|
+ @SerializedName("daikaiamount")
|
|
|
val daikaiamount: String? = "",
|
|
|
+ @SerializedName("deliveryenddate")
|
|
|
val deliveryenddate: String? = "",
|
|
|
+ @SerializedName("deliverygoodscode")
|
|
|
val deliverygoodscode: String? = "",
|
|
|
+ @SerializedName("deliverygoodsid")
|
|
|
val deliverygoodsid: String? = "",
|
|
|
+ @SerializedName("deliverygoodsname")
|
|
|
val deliverygoodsname: String? = "",
|
|
|
+ @SerializedName("deliverystartdate")
|
|
|
val deliverystartdate: String? = "",
|
|
|
+ @SerializedName("enddate")
|
|
|
val enddate: String? = "",
|
|
|
+ @SerializedName("enumdicname")
|
|
|
val enumdicname: String? = "",
|
|
|
+ @SerializedName("goodscode")
|
|
|
val goodscode: String? = "",
|
|
|
+ @SerializedName("goodsid")
|
|
|
val goodsid: String? = "",
|
|
|
+ @SerializedName("invoiceamount")
|
|
|
val invoiceamount: String? = "",
|
|
|
+ @SerializedName("loanamount")
|
|
|
val loanamount: String? = "",
|
|
|
+ @SerializedName("margin")
|
|
|
val margin: String? = "",
|
|
|
+ @SerializedName("payamount")
|
|
|
val payamount: String? = "",
|
|
|
+ @SerializedName("price")
|
|
|
val price: String? = "",
|
|
|
+ @SerializedName("pricedamount")
|
|
|
val pricedamount: String? = "",
|
|
|
+ @SerializedName("pricedavg")
|
|
|
val pricedavg: String? = "",
|
|
|
+ @SerializedName("pricedqty")
|
|
|
val pricedqty: String? = "",
|
|
|
+ @SerializedName("pricemove")
|
|
|
val pricemove: String? = "",
|
|
|
+ @SerializedName("pricetype")
|
|
|
val pricetype: String? = "",
|
|
|
+ @SerializedName("producttype")
|
|
|
val producttype: String? = "",
|
|
|
+ @SerializedName("qty")
|
|
|
val qty: String? = "",
|
|
|
+ @SerializedName("reckonadjustamount")
|
|
|
val reckonadjustamount: String? = "",
|
|
|
+ @SerializedName("reckonedamount")
|
|
|
val reckonedamount: String? = "",
|
|
|
+ @SerializedName("reckonotheramount")
|
|
|
val reckonotheramount: String? = "",
|
|
|
+ @SerializedName("reckonrealqty")
|
|
|
val reckonrealqty: String? = "",
|
|
|
+ @SerializedName("remark")
|
|
|
val remark: String? = "",
|
|
|
+ @SerializedName("spotcontractid")
|
|
|
val spotcontractid:String? = "",
|
|
|
+ @SerializedName("spotgoodsdesc")
|
|
|
val spotgoodsdesc: String? = "",
|
|
|
+ @SerializedName("startdate")
|
|
|
val startdate: String? = "",
|
|
|
+ @SerializedName("totalamount")
|
|
|
val totalamount: String? = "",
|
|
|
+ @SerializedName("unpayamount")
|
|
|
val unpayamount: String? = "",
|
|
|
+ @SerializedName("unpricedqty")
|
|
|
val unpricedqty: String? = "",
|
|
|
+ @SerializedName("unsureqty")
|
|
|
val unsureqty: String? = "",
|
|
|
+ @SerializedName("userid")
|
|
|
val userid: String? = "",
|
|
|
+ @SerializedName("indexSelect")
|
|
|
var indexSelect: Int = 0,
|
|
|
+ @SerializedName("buyuserid")
|
|
|
val buyuserid: String? = "",
|
|
|
+ @SerializedName("buyusername")
|
|
|
val buyusername: String? = "",
|
|
|
+ @SerializedName("selluserid")
|
|
|
val selluserid: String? = "",
|
|
|
+ @SerializedName("sellusername")
|
|
|
val sellusername: String? = "",
|
|
|
+ @SerializedName("contractmargin")
|
|
|
val contractmargin: String? = "",
|
|
|
+ @SerializedName("audittime")
|
|
|
val audittime : String? = "",//审核时间
|
|
|
+ @SerializedName("rightData")
|
|
|
var rightData : List<String>? = arrayListOf(),
|
|
|
+ @SerializedName("brandname")
|
|
|
val brandname : String? = "",//品牌名称
|
|
|
+ @SerializedName("modelname")
|
|
|
val modelname : String? = "",//型号名称
|
|
|
+ @SerializedName("goodsname")
|
|
|
val goodsname : String? = "",
|
|
|
+ @SerializedName("amount")
|
|
|
val amount : String? = "",//金额
|
|
|
+ @SerializedName("wrstandardcode")
|
|
|
val wrstandardcode : String? = "",//品类代码
|
|
|
+ @SerializedName("wrstandardid")
|
|
|
val wrstandardid : String? = "",//品类ID
|
|
|
+ @SerializedName("wrstandardname")
|
|
|
val wrstandardname : String? = "",//品类名称
|
|
|
+ @SerializedName("createtime")
|
|
|
val createtime : String? = "",//创建时间
|
|
|
+ @SerializedName("updatetime")
|
|
|
val updatetime : String? = "",//更新时间
|
|
|
//---------------三期------------
|
|
|
+ @SerializedName("biztype")
|
|
|
val biztype : String? = "",//业务类型 1-套保 2-套利
|
|
|
+ @SerializedName("spotgoodsbrandid")
|
|
|
val spotgoodsbrandid : String? = "",//现货品牌ID(DGFactoryItem表的ID)
|
|
|
+ @SerializedName("saleuserid")
|
|
|
val saleuserid :String? = "",//业务员id
|
|
|
+ @SerializedName("sellnickname")
|
|
|
val sellnickname : String? = "",//采购方昵称
|
|
|
+ @SerializedName("saleuserlogincode")
|
|
|
val saleuserlogincode : String? = "",//业务员登录代码
|
|
|
+ @SerializedName("meruserid")
|
|
|
val meruserid : String? = "",//跟单员id
|
|
|
+ @SerializedName("meruserlogincode")
|
|
|
val meruserlogincode: String? = "",//跟单员登录代码
|
|
|
+ @SerializedName("buynickname")
|
|
|
val buynickname : String? = "",//销售方昵称
|
|
|
+ @SerializedName("auditremark")
|
|
|
val auditremark : String? = "",//审核意见
|
|
|
+ @SerializedName("tradeuserid")
|
|
|
val tradeuserid : String? = "",//交易员id
|
|
|
+ @SerializedName("tradeuserlogincode")
|
|
|
val tradeuserlogincode : String? = "",//交易员登录代码
|
|
|
+ @SerializedName("unitid")
|
|
|
val unitid : String? = "",//单位id(取品类上的单位id)
|
|
|
+ @SerializedName("preinvoiceamount")
|
|
|
val preinvoiceamount : String? = "",//预收(开)票额
|
|
|
+ @SerializedName("prepayamount")
|
|
|
val prepayamount : String? = "",//预收付额
|
|
|
+ @SerializedName("attachment")
|
|
|
val attachment : String? = "",//附件
|
|
|
+ @SerializedName("currencyid")
|
|
|
val currencyid : String? = "",//币种id
|
|
|
+ @SerializedName("currencyname")
|
|
|
val currencyname : String? = "",//币种名称
|
|
|
+ @SerializedName("tradeusername")
|
|
|
val tradeusername : String? = ""//交易员名称
|
|
|
) : Parcelable {
|
|
|
constructor(parcel: Parcel) : this(
|