|
|
@@ -0,0 +1,62 @@
|
|
|
+package com.ydtech.modules.order.entity.api.zhongmei.request;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import com.ydtech.modules.order.entity.api.zhongmei.BaseRequest;
|
|
|
+import com.ydtech.modules.order.entity.api.zhongmei.BaseRequestHead;
|
|
|
+import com.ydtech.modules.order.entity.api.zhongmei.constants.TransCode;
|
|
|
+import com.ydtech.modules.order.entity.config.ZmConfigureParameters;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Author: CXP
|
|
|
+ * @Date: 2023/10/18 23:13
|
|
|
+ */
|
|
|
+@NoArgsConstructor
|
|
|
+@Data
|
|
|
+public class RideAccidentQueryRequest extends BaseRequest {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 6817013086083441523L;
|
|
|
+ //车辆大类
|
|
|
+ @JsonProperty("motorMainType")
|
|
|
+ private String motorMainType;
|
|
|
+ //车辆用途
|
|
|
+ @JsonProperty("carUseType")
|
|
|
+ private String carUseType;
|
|
|
+ //使用性质
|
|
|
+ @JsonProperty("motorUsageTypeCode")
|
|
|
+ private String motorUsageTypeCode;
|
|
|
+ //保单归属地省
|
|
|
+ @JsonProperty("province")
|
|
|
+ private String province;
|
|
|
+ //核定载客
|
|
|
+ @JsonProperty("seats")
|
|
|
+ private int seats;
|
|
|
+ //被保人证件类型
|
|
|
+ @JsonProperty("insuredIdentifyType")
|
|
|
+ private String insuredIdentifyType;
|
|
|
+ //被保人证件号
|
|
|
+ @JsonProperty("identifyNumber")
|
|
|
+ private String identifyNumber;
|
|
|
+ //是否有社保
|
|
|
+ @JsonProperty("isSocial")
|
|
|
+ private String isSocial;
|
|
|
+
|
|
|
+ public RideAccidentQueryRequest(ZmConfigureParameters zmConfigureParameters) {
|
|
|
+ this.motorMainType = "100";//客车
|
|
|
+ this.carUseType = "01";//家庭自用
|
|
|
+ this.motorUsageTypeCode = "02";//非营业
|
|
|
+ this.province = zmConfigureParameters.getProvince();
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void setHead(BaseRequestHead head) {
|
|
|
+ super.setHead(head);
|
|
|
+ super.getHead().setTransCode(TransCode.SUBMIT_STATUS_QUERY);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public BaseRequestHead getHead() {
|
|
|
+ super.getHead().setTransCode(TransCode.SUBMIT_STATUS_QUERY);
|
|
|
+ return super.getHead();
|
|
|
+ }
|
|
|
+}
|