|
@@ -0,0 +1,161 @@
|
|
|
|
|
+package com.ydtech.modules.order.entity.vo;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+import com.ydtech.modules.ins.model.vo.AccidentResponseVo;
|
|
|
|
|
+import com.ydtech.modules.ins.model.vo.QuoteKindRespVo;
|
|
|
|
|
+import com.ydtech.modules.ins.model.vo.QuoteRiskRespVo;
|
|
|
|
|
+import com.ydtech.modules.order.entity.InsAreaCompany;
|
|
|
|
|
+import com.ydtech.modules.order.entity.InsOrders;
|
|
|
|
|
+import com.ydtech.modules.order.entity.TaxArrears;
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serializable;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
+@Data
|
|
|
|
|
+public class InsOrdersEditingVo extends InsOrders implements Serializable {
|
|
|
|
|
+
|
|
|
|
|
+ private static final long serialVersionUID = 8245987503764357200L;
|
|
|
|
|
+
|
|
|
|
|
+ private List<InsAreaCompanyEditingDto> insAreaCompanyEditingDtos;
|
|
|
|
|
+
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class InsAreaCompanyEditingDto implements Serializable {
|
|
|
|
|
+
|
|
|
|
|
+ private static final long serialVersionUID = 5819731807013343817L;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("订单状态")
|
|
|
|
|
+ private final String orderstatus;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("保险公司名称")
|
|
|
|
|
+ private final String inscompany;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强险和车船税合计")
|
|
|
|
|
+ private double ciSumPermium;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("保费合计")
|
|
|
|
|
+ private double sumPermium;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("车船税")
|
|
|
|
|
+ private double taxAmount;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("提示信息")
|
|
|
|
|
+ private String tips;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业险险种")
|
|
|
|
|
+ private List<QuoteKindRespVo> kindList;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强险和商业险")
|
|
|
|
|
+ private List<QuoteRiskRespVo> riskList;
|
|
|
|
|
+
|
|
|
|
|
+ //add 警告信息 lig 2023-09-12
|
|
|
|
|
+ @ApiModelProperty("警告信息")
|
|
|
|
|
+ private List<String> warnMessageList;
|
|
|
|
|
+
|
|
|
|
|
+ //add 交强商业开始结束起保日期 lig 2023-09-12
|
|
|
|
|
+ @ApiModelProperty("开始起保日期交强")
|
|
|
|
|
+ private String startDateJq;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("结束起保日期交强")
|
|
|
|
|
+ private String endDateJq;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("开始起保日期交强")
|
|
|
|
|
+ private String startDateSy;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("结束起保日期交强")
|
|
|
|
|
+ private String endDateSy;
|
|
|
|
|
+
|
|
|
|
|
+ //add end 交强商业开始结束起保日期 lig 2023-09-12
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("驾意险信息")
|
|
|
|
|
+ private List<AccidentResponseVo> accident;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("订单号")
|
|
|
|
|
+ private String orderno;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("是否真单交")
|
|
|
|
|
+ private String iszdj;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强险保费")
|
|
|
|
|
+ private double jqPremium;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业险保费")
|
|
|
|
|
+ private double syPremium;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("驾意险保费")
|
|
|
|
|
+ private double jyPremium;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("子订单ID")
|
|
|
|
|
+ private String companyId;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("总折扣率")
|
|
|
|
|
+ private double totalAdjustRate;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强险折扣率")
|
|
|
|
|
+ private String jqAdjustRate;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业险折扣率")
|
|
|
|
|
+ private String syAdjustRate;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("欠税明细")
|
|
|
|
|
+ private List<TaxArrears> taxArrears;
|
|
|
|
|
+
|
|
|
|
|
+ //add 增加返回出险信息 lig 2023-09-14
|
|
|
|
|
+ @ApiModelProperty("出险信息")
|
|
|
|
|
+ private String accidentInfoStr;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("扩展字段")
|
|
|
|
|
+ private Object extendInfo;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强投保单号")
|
|
|
|
|
+ private String jqApplyNo;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业投保单号")
|
|
|
|
|
+ private String syApplyNo;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("评分")
|
|
|
|
|
+ private String iLogPreUdwMess;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强类型评分")
|
|
|
|
|
+ private String jqScore;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业类型评分")
|
|
|
|
|
+ private String syScore;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("总赔付率")
|
|
|
|
|
+ private double lossRation;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("交强赔付率")
|
|
|
|
|
+ private double jqLossRation;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty("商业赔付率")
|
|
|
|
|
+ private double syLossRation;
|
|
|
|
|
+
|
|
|
|
|
+ public InsAreaCompanyEditingDto(InsAreaCompany insAreaCompany) {
|
|
|
|
|
+ this.orderno = insAreaCompany.getOrderno();
|
|
|
|
|
+ this.orderstatus = insAreaCompany.getOrderstatus();
|
|
|
|
|
+ this.companyId = insAreaCompany.getId();
|
|
|
|
|
+ this.inscompany = insAreaCompany.getInscompany();
|
|
|
|
|
+ this.kindList = insAreaCompany.getKindinfo().toJavaList(QuoteKindRespVo.class);
|
|
|
|
|
+ this.jqPremium = insAreaCompany.getJqpremium().doubleValue();
|
|
|
|
|
+ this.syPremium = insAreaCompany.getSypremium().doubleValue();
|
|
|
|
|
+ this.jyPremium = insAreaCompany.getJypremium().doubleValue();
|
|
|
|
|
+ this.taxAmount = insAreaCompany.getTaxamount().doubleValue();
|
|
|
|
|
+ this.sumPermium = insAreaCompany.getSumpremium().doubleValue();
|
|
|
|
|
+ this.startDateJq = insAreaCompany.getJqStartDate();
|
|
|
|
|
+ this.endDateJq = insAreaCompany.getJqEndDate();
|
|
|
|
|
+ this.startDateSy = insAreaCompany.getSyStartDate();
|
|
|
|
|
+ this.endDateSy = insAreaCompany.getSyEndDate();
|
|
|
|
|
+ this.iLogPreUdwMess = insAreaCompany.getScore();
|
|
|
|
|
+ this.jqScore = insAreaCompany.getJqScore();
|
|
|
|
|
+ this.syScore = insAreaCompany.getSyScore();
|
|
|
|
|
+ this.lossRation = insAreaCompany.getLossRation();
|
|
|
|
|
+ this.jqLossRation = insAreaCompany.getJqLossRation();
|
|
|
|
|
+ this.syLossRation = insAreaCompany.getSyLossRation();
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+}
|