|
|
@@ -0,0 +1,101 @@
|
|
|
+package cn.muchinfo.rma.global.data
|
|
|
+
|
|
|
+import android.os.Parcel
|
|
|
+import android.os.Parcelable
|
|
|
+import com.google.gson.annotations.SerializedName
|
|
|
+
|
|
|
+/**
|
|
|
+ * 敞口参数调整明细
|
|
|
+ */
|
|
|
+data class AreaExpourseParamChLogDetailData(
|
|
|
+ @SerializedName("accountid")
|
|
|
+ val accountid : String? = "",//期货账户ID (作废, 默认为0)
|
|
|
+ @SerializedName("aftervalue")
|
|
|
+ val aftervalue : String? = "",//应套保\套利量变更后(调整后应套保总量)
|
|
|
+ @SerializedName("areauserid")
|
|
|
+ val areauserid : String? = "",//所属机构\交易用户ID
|
|
|
+ @SerializedName("beforevalue")
|
|
|
+ val beforevalue : String? = "",//应套保\套利量变更前(调整前应套保总量)
|
|
|
+ @SerializedName("begindate")
|
|
|
+ val begindate : String? = "",//开始交易日
|
|
|
+ @SerializedName("changelogtype")
|
|
|
+ val changelogtype : String? = "",//变更流水类型 - 1:套保比率变更 2:套利比率变更
|
|
|
+ @SerializedName("curvalue")
|
|
|
+ val curvalue : String? = "",//当前套保\套利量(套保总量|套利总量)
|
|
|
+ @SerializedName("diffvalue")
|
|
|
+ val diffvalue : String? = "",//应套保总量变化量
|
|
|
+ @SerializedName("enddate")
|
|
|
+ val enddate : String? = "",//结束交易日
|
|
|
+ @SerializedName("logdatetime")
|
|
|
+ val logdatetime : String? = "",//流水日期
|
|
|
+ @SerializedName("logid")
|
|
|
+ val logid : String? = "",//流水ID(609+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ @SerializedName("middlegoodscode")
|
|
|
+ val middlegoodscode : String? = "",//套保品种代码
|
|
|
+ @SerializedName("middlegoodsid")
|
|
|
+ val middlegoodsid : String? = "",//套保品种
|
|
|
+ @SerializedName("middlegoodsname")
|
|
|
+ val middlegoodsname : String? = "",//套保品种名称
|
|
|
+ @SerializedName("paramaftervalue")
|
|
|
+ val paramaftervalue : String? = "",//参数变更后(调整后参数值)
|
|
|
+ @SerializedName("parambeforevalue")
|
|
|
+ val parambeforevalue : String? = "",//参数变更前(调整前参数值)
|
|
|
+ @SerializedName("tradedate")
|
|
|
+ val tradedate : String? = ""//交易日(yyyyMMdd)
|
|
|
+) : 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()
|
|
|
+ ) {
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun writeToParcel(parcel: Parcel, flags: Int) {
|
|
|
+ parcel.writeString(accountid)
|
|
|
+ parcel.writeString(aftervalue)
|
|
|
+ parcel.writeString(areauserid)
|
|
|
+ parcel.writeString(beforevalue)
|
|
|
+ parcel.writeString(begindate)
|
|
|
+ parcel.writeString(changelogtype)
|
|
|
+ parcel.writeString(curvalue)
|
|
|
+ parcel.writeString(diffvalue)
|
|
|
+ parcel.writeString(enddate)
|
|
|
+ parcel.writeString(logdatetime)
|
|
|
+ parcel.writeString(logid)
|
|
|
+ parcel.writeString(middlegoodscode)
|
|
|
+ parcel.writeString(middlegoodsid)
|
|
|
+ parcel.writeString(middlegoodsname)
|
|
|
+ parcel.writeString(paramaftervalue)
|
|
|
+ parcel.writeString(parambeforevalue)
|
|
|
+ parcel.writeString(tradedate)
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun describeContents(): Int {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+
|
|
|
+ companion object CREATOR : Parcelable.Creator<AreaExpourseParamChLogDetailData> {
|
|
|
+ override fun createFromParcel(parcel: Parcel): AreaExpourseParamChLogDetailData {
|
|
|
+ return AreaExpourseParamChLogDetailData(parcel)
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun newArray(size: Int): Array<AreaExpourseParamChLogDetailData?> {
|
|
|
+ return arrayOfNulls(size)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+}
|