|
|
@@ -1,12 +1,20 @@
|
|
|
package com.jzg.quotation.chengtai.crawler.entity.request;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import com.jzg.commons.util.ObjectUtil;
|
|
|
+import com.jzg.quotation.chengtai.crawler.entity.response.ChengTaiGetEngageListResponse;
|
|
|
+import com.jzg.quotation.chengtai.crawler.entity.response.ChengTaiPremiumcaResponse;
|
|
|
+import com.jzg.quotation.commons.utils.TimeProcessing;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
+import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
+import java.util.Optional;
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
@@ -22,1253 +30,108 @@ public class ChengTaiUnderwritingRequest implements Serializable {
|
|
|
private ChengTaiPremiumcaRequest.FlagDTO flag;
|
|
|
|
|
|
@JsonProperty("businessMain")
|
|
|
- private BusinessMainDTO businessMain;
|
|
|
+ private ChengTaiPremiumcaRequest.BusinessMainDTO businessMain;
|
|
|
|
|
|
@JsonProperty("saleInfo")
|
|
|
- private SaleInfoDTO saleInfo;
|
|
|
+ private ChengTaiPremiumcaRequest.SaleInfoDTO saleInfo;
|
|
|
|
|
|
@JsonProperty("insuredObject")
|
|
|
- private InsuredObjectDTO insuredObject;
|
|
|
+ private ChengTaiPremiumcaRequest.InsuredObjectDTO insuredObject;
|
|
|
|
|
|
@JsonProperty("applicant")
|
|
|
- private ApplicantDTO applicant;
|
|
|
+ private ChengTaiPremiumcaRequest.PersonnelDTO applicant;
|
|
|
|
|
|
@JsonProperty("insured")
|
|
|
- private InsuredDTO insured;
|
|
|
+ private ChengTaiPremiumcaRequest.PersonnelDTO insured;
|
|
|
|
|
|
@JsonProperty("owner")
|
|
|
- private OwnerDTO owner;
|
|
|
+ private ChengTaiPremiumcaRequest.OwnerDTO owner;
|
|
|
|
|
|
@JsonProperty("biContract")
|
|
|
- private BiContractDTO biContract;
|
|
|
+ private ChengTaiPremiumcaResponse.BiContractDTO biContract;
|
|
|
|
|
|
@JsonProperty("ciContract")
|
|
|
- private CiContractDTO ciContract;
|
|
|
+ private ChengTaiPremiumcaResponse.CiContractDTO ciContract;
|
|
|
|
|
|
@JsonProperty("accidentMain")
|
|
|
- private AccidentMainDTO accidentMain;
|
|
|
+ private ChengTaiPremiumcaRequest.AccidentMainDTO accidentMain;
|
|
|
|
|
|
@JsonProperty("accContract")
|
|
|
- private AccContractDTO accContract;
|
|
|
+ private ChengTaiPremiumcaRequest.AccContractDTO accContract;
|
|
|
|
|
|
@JsonProperty("submitReqBody")
|
|
|
- private SubmitReqBodyDTO submitReqBody;
|
|
|
+ private ChengTaiPremiumcaRequest.SubmitReqBodyDTO submitReqBody;
|
|
|
|
|
|
@JsonProperty("acciSaleInfo")
|
|
|
- private AcciSaleInfoDTO acciSaleInfo;
|
|
|
+ private ChengTaiPremiumcaRequest.AcciSaleInfoDTO acciSaleInfo;
|
|
|
|
|
|
@JsonProperty("sunlightId")
|
|
|
private String sunlightId;
|
|
|
|
|
|
@JsonProperty("yztScore")
|
|
|
- private YztScoreDTO yztScore;
|
|
|
+ private ChengTaiPremiumcaResponse.YztScoreDTO yztScore;
|
|
|
|
|
|
@JsonProperty("ocftId")
|
|
|
private String ocftId;
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class BusinessMainDTO {
|
|
|
+ private List<ChengTaiPremiumcaResponse.EngageDTO> createAndPopulateEngageList(String riskCode, Map<String, List<ChengTaiGetEngageListResponse.ResponseBodyDTO.EngageListDTO>> engageMap) {
|
|
|
+ // 1. 从共享数据源获取原始列表
|
|
|
+ List<ChengTaiGetEngageListResponse.ResponseBodyDTO.EngageListDTO> engageListDTOS = engageMap.get(riskCode);
|
|
|
+ List<ChengTaiPremiumcaResponse.EngageDTO> engageDTOS = new ArrayList<>();
|
|
|
|
|
|
- @JsonProperty("uuid")
|
|
|
- private String uuid;
|
|
|
-
|
|
|
- @JsonProperty("operatorCode")
|
|
|
- private String operatorCode;
|
|
|
-
|
|
|
- @JsonProperty("operatorName")
|
|
|
- private String operatorName;
|
|
|
-
|
|
|
- @JsonProperty("operateDate")
|
|
|
- private String operateDate;
|
|
|
-
|
|
|
- @JsonProperty("issueDate")
|
|
|
- private String issueDate;
|
|
|
-
|
|
|
- @JsonProperty("inputDate")
|
|
|
- private String inputDate;
|
|
|
-
|
|
|
- @JsonProperty("language")
|
|
|
- private String language;
|
|
|
-
|
|
|
- @JsonProperty("moneySuspiciousInd")
|
|
|
- private String moneySuspiciousInd;
|
|
|
-
|
|
|
- @JsonProperty("codInd")
|
|
|
- private String codInd;
|
|
|
-
|
|
|
- @JsonProperty("argueSolution")
|
|
|
- private String argueSolution;
|
|
|
-
|
|
|
- @JsonProperty("relateTradeType")
|
|
|
- private String relateTradeType;
|
|
|
-
|
|
|
- @JsonProperty("issueCompany")
|
|
|
- private String issueCompany;
|
|
|
-
|
|
|
- @JsonProperty("issueCompanyName")
|
|
|
- private String issueCompanyName;
|
|
|
-
|
|
|
- @JsonProperty("resourceType")
|
|
|
- private String resourceType;
|
|
|
-
|
|
|
- @JsonProperty("businessType")
|
|
|
- private String businessType;
|
|
|
-
|
|
|
- @JsonProperty("smsCheckFlag")
|
|
|
- private String smsCheckFlag;
|
|
|
-
|
|
|
- @JsonProperty("isTerror")
|
|
|
- private String isTerror;
|
|
|
-
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
-
|
|
|
- @JsonProperty("planCode")
|
|
|
- private String planCode;
|
|
|
-
|
|
|
- @JsonProperty("smsCodeFlag")
|
|
|
- private String smsCodeFlag;
|
|
|
-
|
|
|
- @JsonProperty("registerWay")
|
|
|
- private String registerWay;
|
|
|
-
|
|
|
- @JsonProperty("paymentmark")
|
|
|
- private String paymentmark;
|
|
|
-
|
|
|
- @JsonProperty("carmodel")
|
|
|
- private String carmodel;
|
|
|
-
|
|
|
- @JsonProperty("isCarReform")
|
|
|
- private String isCarReform;
|
|
|
-
|
|
|
- @JsonProperty("cashBusiness")
|
|
|
- private String cashBusiness;
|
|
|
-
|
|
|
- @JsonProperty("publicChanged")
|
|
|
- private Boolean publicChanged;
|
|
|
-
|
|
|
- @JsonProperty("biChanged")
|
|
|
- private Boolean biChanged;
|
|
|
-
|
|
|
- @JsonProperty("ciChanged")
|
|
|
- private Boolean ciChanged;
|
|
|
-
|
|
|
- @JsonProperty("carRegistFlag")
|
|
|
- private String carRegistFlag;
|
|
|
-
|
|
|
- @JsonProperty("rulesList")
|
|
|
- private List<RulesListDTO> rulesList;
|
|
|
-
|
|
|
- @JsonProperty("biConfigAutoFlag")
|
|
|
- private String biConfigAutoFlag;
|
|
|
- @JsonProperty("blackId")
|
|
|
- private String blackId;
|
|
|
- @JsonProperty("ocftId")
|
|
|
- private String ocftId;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class RulesListDTO {
|
|
|
- @JsonProperty("authorityLevel")
|
|
|
- private String authorityLevel;
|
|
|
- @JsonProperty("dataType")
|
|
|
- private String dataType;
|
|
|
- @JsonProperty("reasondescription")
|
|
|
- private String reasondescription;
|
|
|
- @JsonProperty("ruleSetName")
|
|
|
- private String ruleSetName;
|
|
|
- @JsonProperty("riskCode")
|
|
|
- private String riskCode;
|
|
|
- @JsonProperty("finalRuleResult")
|
|
|
- private String finalRuleResult;
|
|
|
+ int serialNumber = 1; // 变量名更语义化
|
|
|
+ // 2. 遍历转换每个对象并设置序列号
|
|
|
+ for (ChengTaiGetEngageListResponse.ResponseBodyDTO.EngageListDTO engageListDTO : engageListDTOS) {
|
|
|
+ ChengTaiPremiumcaResponse.EngageDTO engageDTO = new ChengTaiPremiumcaResponse.EngageDTO(engageListDTO);
|
|
|
+ engageDTO.setSerialNo(serialNumber);
|
|
|
+ serialNumber += 1; // 或 serialNumber++
|
|
|
+ engageDTOS.add(engageDTO);
|
|
|
}
|
|
|
+ return engageDTOS;
|
|
|
}
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class SaleInfoDTO {
|
|
|
- @JsonProperty("businessMode")
|
|
|
- private String businessMode;
|
|
|
- @JsonProperty("businessSource")
|
|
|
- private String businessSource;
|
|
|
- @JsonProperty("comCode")
|
|
|
- private String comCode;
|
|
|
- @JsonProperty("comName")
|
|
|
- private String comName;
|
|
|
- @JsonProperty("channelType")
|
|
|
- private String channelType;
|
|
|
- @JsonProperty("agreementNo")
|
|
|
- private String agreementNo;
|
|
|
- @JsonProperty("agreementNoName")
|
|
|
- private String agreementNoName;
|
|
|
- @JsonProperty("agentCode")
|
|
|
- private String agentCode;
|
|
|
- @JsonProperty("agentName")
|
|
|
- private String agentName;
|
|
|
- @JsonProperty("solutionCode")
|
|
|
- private String solutionCode;
|
|
|
- @JsonProperty("permitNo")
|
|
|
- private String permitNo;
|
|
|
- @JsonProperty("channelTypeDetail")
|
|
|
- private String channelTypeDetail;
|
|
|
- @JsonProperty("handlerCode")
|
|
|
- private String handlerCode;
|
|
|
- @JsonProperty("handlerName")
|
|
|
- private String handlerName;
|
|
|
- @JsonProperty("cooperateSiteCode")
|
|
|
- private String cooperateSiteCode;
|
|
|
- @JsonProperty("cooperateSiteName")
|
|
|
- private String cooperateSiteName;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- @JsonProperty("userCode")
|
|
|
- private String userCode;
|
|
|
- @JsonProperty("userName")
|
|
|
- private String userName;
|
|
|
- @JsonProperty("dateType")
|
|
|
- private String dateType;
|
|
|
+ public ChengTaiUnderwritingRequest(ChengTaiPremiumcaRequest request, ChengTaiPremiumcaResponse response,
|
|
|
+ Map<String, List<ChengTaiGetEngageListResponse.ResponseBodyDTO.EngageListDTO>> engageMap) {
|
|
|
+ this.combo = request.getCombo();
|
|
|
+ this.flag = request.getFlag();
|
|
|
+ // businessMain
|
|
|
+ this.businessMain = request.getBusinessMain();
|
|
|
+ this.businessMain.setIssueDate(TimeProcessing.nowDate());
|
|
|
+ this.businessMain.setBlackId(response.getBlackId());
|
|
|
+ this.businessMain.setOcftId(response.getOcftId());
|
|
|
+
|
|
|
+ this.saleInfo = request.getSaleInfo();
|
|
|
+ this.insuredObject = request.getInsuredObject();
|
|
|
+ this.insuredObject.getPolicyCar().setHighRiskHit(response.getRiskIdentifyInfo().getHighRiskHit());
|
|
|
+
|
|
|
+ if (!ObjectUtils.isEmpty(response.getCiContract())) {
|
|
|
+ this.insuredObject.getPolicyCar().setCiCarKind(response.getCiContract().getPlatFormMessage().getCiCarKind());
|
|
|
+ } else {
|
|
|
+ this.insuredObject.getPolicyCar().setCiCarKind(response.getBiContract().getPlatFormMessage().getCiCarKind());
|
|
|
+ }
|
|
|
+
|
|
|
+ this.applicant = request.getApplicant();
|
|
|
+ this.insured = request.getInsured();
|
|
|
+ this.owner = request.getOwner();
|
|
|
+ if (ObjectUtils.isEmpty(response.getBiContract())) {
|
|
|
+ this.biContract = response.getBiContract();
|
|
|
+ List<ChengTaiPremiumcaResponse.EngageDTO> engageBiDTOS = createAndPopulateEngageList(this.biContract.getContractMain().getRiskCode(), engageMap);
|
|
|
+ this.biContract.setEngage(engageBiDTOS);
|
|
|
+ }
|
|
|
+ if (ObjectUtils.isEmpty(response.getCiContract())) {
|
|
|
+ this.ciContract = response.getCiContract();
|
|
|
+ List<ChengTaiPremiumcaResponse.EngageDTO> engageCiDTOS = createAndPopulateEngageList(this.ciContract.getContractMain().getRiskCode(), engageMap);
|
|
|
+ this.ciContract.setEngage(engageCiDTOS);
|
|
|
+ }
|
|
|
+
|
|
|
+ this.accidentMain = request.getAccidentMain();
|
|
|
+ this.submitReqBody = request.getSubmitReqBody();
|
|
|
+ this.submitReqBody.setSunlightId(response.getSunlightId());
|
|
|
+
|
|
|
+ this.sunlightId = response.getSunlightId();
|
|
|
+ this.acciSaleInfo = request.getAcciSaleInfo();
|
|
|
+ this.yztScore = response.getYztScore();
|
|
|
+ this.ocftId = response.getOcftId();
|
|
|
}
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class InsuredObjectDTO {
|
|
|
- @JsonProperty("policyCar")
|
|
|
- private PolicyCarDTO policyCar;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class PolicyCarDTO {
|
|
|
- @JsonProperty("vhlInfoType")
|
|
|
- private String vhlInfoType;
|
|
|
- @JsonProperty("plateNo")
|
|
|
- private String plateNo;
|
|
|
- @JsonProperty("vin")
|
|
|
- private String vin;
|
|
|
- @JsonProperty("engine")
|
|
|
- private String engine;
|
|
|
- @JsonProperty("noLicenseFlag")
|
|
|
- private String noLicenseFlag;
|
|
|
- @JsonProperty("brandName")
|
|
|
- private String brandName;
|
|
|
- @JsonProperty("modelCode")
|
|
|
- private String modelCode;
|
|
|
- @JsonProperty("printBrandName")
|
|
|
- private String printBrandName;
|
|
|
- @JsonProperty("registerDate")
|
|
|
- private String registerDate;
|
|
|
- @JsonProperty("issueDate")
|
|
|
- private String issueDate;
|
|
|
- @JsonProperty("enrollDate")
|
|
|
- private String enrollDate;
|
|
|
- @JsonProperty("transferMark")
|
|
|
- private String transferMark;
|
|
|
- @JsonProperty("carKindCode")
|
|
|
- private String carKindCode;
|
|
|
- @JsonProperty("carKindName")
|
|
|
- private String carKindName;
|
|
|
- @JsonProperty("useNatureCode")
|
|
|
- private String useNatureCode;
|
|
|
- @JsonProperty("useNatureName")
|
|
|
- private String useNatureName;
|
|
|
- @JsonProperty("attachNature")
|
|
|
- private String attachNature;
|
|
|
- @JsonProperty("attachNatureName")
|
|
|
- private String attachNatureName;
|
|
|
- @JsonProperty("purchasePrice")
|
|
|
- private Integer purchasePrice;
|
|
|
- @JsonProperty("orignPurchasePrice")
|
|
|
- private Integer orignPurchasePrice;
|
|
|
- @JsonProperty("actualValue")
|
|
|
- private Integer actualValue;
|
|
|
- @JsonProperty("consultValue")
|
|
|
- private Integer consultValue;
|
|
|
- @JsonProperty("plateType")
|
|
|
- private String plateType;
|
|
|
- @JsonProperty("plateTypeName")
|
|
|
- private String plateTypeName;
|
|
|
- @JsonProperty("vehicleType")
|
|
|
- private String vehicleType;
|
|
|
- @JsonProperty("vehicleTypeName")
|
|
|
- private String vehicleTypeName;
|
|
|
- @JsonProperty("energyTypes")
|
|
|
- private String energyTypes;
|
|
|
- @JsonProperty("carCheckStatus")
|
|
|
- private String carCheckStatus;
|
|
|
- @JsonProperty("carCheckReason")
|
|
|
- private String carCheckReason;
|
|
|
- @JsonProperty("carCheckReasonName")
|
|
|
- private String carCheckReasonName;
|
|
|
- @JsonProperty("approvedPassengersCapacity")
|
|
|
- private Integer approvedPassengersCapacity;
|
|
|
- @JsonProperty("approvedLoad")
|
|
|
- private Integer approvedLoad;
|
|
|
- @JsonProperty("power")
|
|
|
- private Double power;
|
|
|
- @JsonProperty("displacement")
|
|
|
- private Integer displacement;
|
|
|
- @JsonProperty("exhaustScaleUnit")
|
|
|
- private String exhaustScaleUnit;
|
|
|
- @JsonProperty("loanVehicleFlag")
|
|
|
- private String loanVehicleFlag;
|
|
|
- @JsonProperty("ecdemicVehicleFlag")
|
|
|
- private String ecdemicVehicleFlag;
|
|
|
- @JsonProperty("deptCode")
|
|
|
- private String deptCode;
|
|
|
- @JsonProperty("deptName")
|
|
|
- private String deptName;
|
|
|
- @JsonProperty("useYears")
|
|
|
- private String useYears;
|
|
|
- @JsonProperty("seriesCode")
|
|
|
- private String seriesCode;
|
|
|
- @JsonProperty("series")
|
|
|
- private String series;
|
|
|
- @JsonProperty("seriesType")
|
|
|
- private String seriesType;
|
|
|
- @JsonProperty("brandCode")
|
|
|
- private String brandCode;
|
|
|
- @JsonProperty("brand")
|
|
|
- private String brand;
|
|
|
- @JsonProperty("shortHandCode")
|
|
|
- private String shortHandCode;
|
|
|
- @JsonProperty("vehicleKindCode")
|
|
|
- private String vehicleKindCode;
|
|
|
- @JsonProperty("carName")
|
|
|
- private String carName;
|
|
|
- @JsonProperty("monthDepRate")
|
|
|
- private Double monthDepRate;
|
|
|
- @JsonProperty("matchCiModelCode")
|
|
|
- private String matchCiModelCode;
|
|
|
- @JsonProperty("unladenMass")
|
|
|
- private String unladenMass;
|
|
|
- @JsonProperty("ciModelCode")
|
|
|
- private String ciModelCode;
|
|
|
- @JsonProperty("noticeType")
|
|
|
- private String noticeType;
|
|
|
- @JsonProperty("ciCarKind")
|
|
|
- private String ciCarKind;
|
|
|
- @JsonProperty("newCarSign")
|
|
|
- private String newCarSign;
|
|
|
- @JsonProperty("runArea")
|
|
|
- private String runArea;
|
|
|
- @JsonProperty("runAreaName")
|
|
|
- private String runAreaName;
|
|
|
- @JsonProperty("factoryName")
|
|
|
- private String factoryName;
|
|
|
- @JsonProperty("carTypeCode")
|
|
|
- private String carTypeCode;
|
|
|
- @JsonProperty("countryNature")
|
|
|
- private String countryNature;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- @JsonProperty("isEnergy")
|
|
|
- private String isEnergy;
|
|
|
- @JsonProperty("fraud")
|
|
|
- private String fraud;
|
|
|
- @JsonProperty("endorTransferMark")
|
|
|
- private String endorTransferMark;
|
|
|
- @JsonProperty("highRiskHit")
|
|
|
- private String highRiskHit;
|
|
|
- @JsonProperty("cimodelclass")
|
|
|
- private String cimodelclass;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class ApplicantDTO {
|
|
|
- @JsonProperty("type")
|
|
|
- private String type;
|
|
|
- @JsonProperty("role")
|
|
|
- private String role;
|
|
|
- @JsonProperty("isTerror")
|
|
|
- private String isTerror;
|
|
|
- @JsonProperty("customerId")
|
|
|
- private String customerId;
|
|
|
- @JsonProperty("name")
|
|
|
- private String name;
|
|
|
- @JsonProperty("identifyTypeCode")
|
|
|
- private String identifyTypeCode;
|
|
|
- @JsonProperty("identifyTypeName")
|
|
|
- private String identifyTypeName;
|
|
|
- @JsonProperty("identifyNumber")
|
|
|
- private String identifyNumber;
|
|
|
- @JsonProperty("province")
|
|
|
- private String province;
|
|
|
- @JsonProperty("city")
|
|
|
- private String city;
|
|
|
- @JsonProperty("district")
|
|
|
- private String district;
|
|
|
- @JsonProperty("provinceName")
|
|
|
- private String provinceName;
|
|
|
- @JsonProperty("cityName")
|
|
|
- private String cityName;
|
|
|
- @JsonProperty("districtName")
|
|
|
- private String districtName;
|
|
|
- @JsonProperty("addr")
|
|
|
- private String addr;
|
|
|
- @JsonProperty("completeAddress")
|
|
|
- private String completeAddress;
|
|
|
- @JsonProperty("mobile")
|
|
|
- private String mobile;
|
|
|
- @JsonProperty("specialClient")
|
|
|
- private String specialClient;
|
|
|
- @JsonProperty("identifyValidDate")
|
|
|
- private String identifyValidDate;
|
|
|
- @JsonProperty("identifyValidEndDate")
|
|
|
- private String identifyValidEndDate;
|
|
|
- @JsonProperty("sex")
|
|
|
- private String sex;
|
|
|
- @JsonProperty("birthday")
|
|
|
- private String birthday;
|
|
|
- @JsonProperty("operateFlag")
|
|
|
- private String operateFlag;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("longTerm")
|
|
|
- private String longTerm;
|
|
|
- @JsonProperty("terrorNationality")
|
|
|
- private String terrorNationality;
|
|
|
- @JsonProperty("terrorNationalityName")
|
|
|
- private String terrorNationalityName;
|
|
|
- @JsonProperty("isPolitics")
|
|
|
- private String isPolitics;
|
|
|
- @JsonProperty("individualBusinessInd")
|
|
|
- private String individualBusinessInd;
|
|
|
- @JsonProperty("microBusinessesInd")
|
|
|
- private String microBusinessesInd;
|
|
|
- @JsonProperty("signedbyOrig")
|
|
|
- private String signedbyOrig;
|
|
|
- @JsonProperty("comCode")
|
|
|
- private String comCode;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class InsuredDTO {
|
|
|
- @JsonProperty("type")
|
|
|
- private String type;
|
|
|
- @JsonProperty("role")
|
|
|
- private String role;
|
|
|
- @JsonProperty("sameType")
|
|
|
- private String sameType;
|
|
|
- @JsonProperty("isTerror")
|
|
|
- private String isTerror;
|
|
|
- @JsonProperty("customerId")
|
|
|
- private String customerId;
|
|
|
- @JsonProperty("name")
|
|
|
- private String name;
|
|
|
- @JsonProperty("identifyTypeCode")
|
|
|
- private String identifyTypeCode;
|
|
|
- @JsonProperty("identifyTypeName")
|
|
|
- private String identifyTypeName;
|
|
|
- @JsonProperty("identifyNumber")
|
|
|
- private String identifyNumber;
|
|
|
- @JsonProperty("province")
|
|
|
- private String province;
|
|
|
- @JsonProperty("city")
|
|
|
- private String city;
|
|
|
- @JsonProperty("district")
|
|
|
- private String district;
|
|
|
- @JsonProperty("provinceName")
|
|
|
- private String provinceName;
|
|
|
- @JsonProperty("cityName")
|
|
|
- private String cityName;
|
|
|
- @JsonProperty("districtName")
|
|
|
- private String districtName;
|
|
|
- @JsonProperty("addr")
|
|
|
- private String addr;
|
|
|
- @JsonProperty("completeAddress")
|
|
|
- private String completeAddress;
|
|
|
- @JsonProperty("relationWithInsured")
|
|
|
- private String relationWithInsured;
|
|
|
- @JsonProperty("relationWithCar")
|
|
|
- private String relationWithCar;
|
|
|
- @JsonProperty("mobile")
|
|
|
- private String mobile;
|
|
|
- @JsonProperty("specialClient")
|
|
|
- private String specialClient;
|
|
|
- @JsonProperty("identifyValidDate")
|
|
|
- private String identifyValidDate;
|
|
|
- @JsonProperty("identifyValidEndDate")
|
|
|
- private String identifyValidEndDate;
|
|
|
- @JsonProperty("sex")
|
|
|
- private String sex;
|
|
|
- @JsonProperty("birthday")
|
|
|
- private String birthday;
|
|
|
- @JsonProperty("operateFlag")
|
|
|
- private String operateFlag;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("longTerm")
|
|
|
- private String longTerm;
|
|
|
- @JsonProperty("terrorNationality")
|
|
|
- private String terrorNationality;
|
|
|
- @JsonProperty("terrorNationalityName")
|
|
|
- private String terrorNationalityName;
|
|
|
- @JsonProperty("isPolitics")
|
|
|
- private String isPolitics;
|
|
|
- @JsonProperty("individualBusinessInd")
|
|
|
- private String individualBusinessInd;
|
|
|
- @JsonProperty("microBusinessesInd")
|
|
|
- private String microBusinessesInd;
|
|
|
- @JsonProperty("comCode")
|
|
|
- private String comCode;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class OwnerDTO {
|
|
|
- @JsonProperty("type")
|
|
|
- private String type;
|
|
|
- @JsonProperty("role")
|
|
|
- private String role;
|
|
|
- @JsonProperty("sameType")
|
|
|
- private String sameType;
|
|
|
- @JsonProperty("name")
|
|
|
- private String name;
|
|
|
- @JsonProperty("identifyTypeCode")
|
|
|
- private String identifyTypeCode;
|
|
|
- @JsonProperty("identifyTypeName")
|
|
|
- private String identifyTypeName;
|
|
|
- @JsonProperty("identifyNumber")
|
|
|
- private String identifyNumber;
|
|
|
- @JsonProperty("sex")
|
|
|
- private String sex;
|
|
|
- @JsonProperty("age")
|
|
|
- private Integer age;
|
|
|
- @JsonProperty("birthday")
|
|
|
- private String birthday;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("identifyValidDate")
|
|
|
- private String identifyValidDate;
|
|
|
- @JsonProperty("identifyValidEndDate")
|
|
|
- private String identifyValidEndDate;
|
|
|
- @JsonProperty("longTerm")
|
|
|
- private String longTerm;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class BiContractDTO {
|
|
|
- @JsonProperty("contractMain")
|
|
|
- private ContractMainDTO contractMain;
|
|
|
- @JsonProperty("coverage")
|
|
|
- private List<CoverageDTO> coverage;
|
|
|
- @JsonProperty("adjust")
|
|
|
- private List<AdjustDTO> adjust;
|
|
|
- @JsonProperty("discountInfo")
|
|
|
- private DiscountInfoDTO discountInfo;
|
|
|
- @JsonProperty("engage")
|
|
|
- private List<EngageDTO> engage;
|
|
|
- @JsonProperty("platFormMessage")
|
|
|
- private PlatFormMessageDTO platFormMessage;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class ContractMainDTO {
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- @JsonProperty("proposalNo")
|
|
|
- private String proposalNo;
|
|
|
- @JsonProperty("riskCode")
|
|
|
- private String riskCode;
|
|
|
- @JsonProperty("riskName")
|
|
|
- private String riskName;
|
|
|
- @JsonProperty("validAtOnce")
|
|
|
- private String validAtOnce;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("renewalFlag")
|
|
|
- private String renewalFlag;
|
|
|
- @JsonProperty("currency")
|
|
|
- private String currency;
|
|
|
- @JsonProperty("sumAmount")
|
|
|
- private Integer sumAmount;
|
|
|
- @JsonProperty("totalPremium")
|
|
|
- private Double totalPremium;
|
|
|
- @JsonProperty("noTaxPremium")
|
|
|
- private Double noTaxPremium;
|
|
|
- @JsonProperty("totalStandardPremium")
|
|
|
- private Double totalStandardPremium;
|
|
|
- @JsonProperty("totalRiskPremium")
|
|
|
- private Double totalRiskPremium;
|
|
|
- @JsonProperty("vat")
|
|
|
- private Double vat;
|
|
|
- @JsonProperty("discount")
|
|
|
- private Double discount;
|
|
|
- @JsonProperty("hopeDiscount")
|
|
|
- private Double hopeDiscount;
|
|
|
- @JsonProperty("querySequenceNo")
|
|
|
- private String querySequenceNo;
|
|
|
- @JsonProperty("querySeqExpireDate")
|
|
|
- private String querySeqExpireDate;
|
|
|
- @JsonProperty("underWriteInd")
|
|
|
- private String underWriteInd;
|
|
|
- @JsonProperty("othBusinessNo")
|
|
|
- private String othBusinessNo;
|
|
|
- @JsonProperty("hopeCoefficient")
|
|
|
- private Double hopeCoefficient;
|
|
|
- @JsonProperty("isCheckRepeated")
|
|
|
- private String isCheckRepeated;
|
|
|
- @JsonProperty("signStatus")
|
|
|
- private String signStatus;
|
|
|
- @JsonProperty("uuid")
|
|
|
- private String uuid;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class DiscountInfoDTO {
|
|
|
- @JsonProperty("ctpCostPrem")
|
|
|
- private Double ctpCostPrem;
|
|
|
- @JsonProperty("entireExpDiscount")
|
|
|
- private Double entireExpDiscount;
|
|
|
- @JsonProperty("entireRecommenDiscount")
|
|
|
- private Double entireRecommenDiscount;
|
|
|
- @JsonProperty("entireUwritingDiscount")
|
|
|
- private Integer entireUwritingDiscount;
|
|
|
- @JsonProperty("billCtpElr")
|
|
|
- private Double billCtpElr;
|
|
|
- @JsonProperty("billComElr")
|
|
|
- private Double billComElr;
|
|
|
- @JsonProperty("billElr")
|
|
|
- private Double billElr;
|
|
|
- @JsonProperty("commissionFlag")
|
|
|
- private String commissionFlag;
|
|
|
- @JsonProperty("uwDiscFixed")
|
|
|
- private String uwDiscFixed;
|
|
|
- @JsonProperty("uwDiscLimit")
|
|
|
- private String uwDiscLimit;
|
|
|
- @JsonProperty("uwDiscFloor")
|
|
|
- private String uwDiscFloor;
|
|
|
- @JsonProperty("ctpCostPremFlag")
|
|
|
- private String ctpCostPremFlag;
|
|
|
- @JsonProperty("entireRawInitialDiscount")
|
|
|
- private Double entireRawInitialDiscount;
|
|
|
- @JsonProperty("entireInitialDiscount")
|
|
|
- private Double entireInitialDiscount;
|
|
|
- @JsonProperty("entireFloatDiscount")
|
|
|
- private String entireFloatDiscount;
|
|
|
- @JsonProperty("billComCommission")
|
|
|
- private String billComCommission;
|
|
|
- @JsonProperty("billComcor")
|
|
|
- private String billComcor;
|
|
|
- @JsonProperty("billCtpcor")
|
|
|
- private String billCtpcor;
|
|
|
- @JsonProperty("billCor")
|
|
|
- private String billCor;
|
|
|
- @JsonProperty("ncdBpremElr")
|
|
|
- private String ncdBpremElr;
|
|
|
- @JsonProperty("sunlightScore")
|
|
|
- private String sunlightScore;
|
|
|
- @JsonProperty("exceptionFlag")
|
|
|
- private String exceptionFlag;
|
|
|
- @JsonProperty("initialCtpElr")
|
|
|
- private Double initialCtpElr;
|
|
|
- @JsonProperty("initialComElr")
|
|
|
- private Double initialComElr;
|
|
|
- @JsonProperty("initialElr")
|
|
|
- private Double initialElr;
|
|
|
- @JsonProperty("effectInfoDTOList")
|
|
|
- private List<EffectInfoDTOListDTO> effectInfoDTOList;
|
|
|
- @JsonProperty("entireRecommenDiscount1")
|
|
|
- private Integer entireRecommenDiscount1;
|
|
|
- @JsonProperty("entireRecommenDiscount2")
|
|
|
- private Integer entireRecommenDiscount2;
|
|
|
- @JsonProperty("distributionDiscount")
|
|
|
- private Double distributionDiscount;
|
|
|
- @JsonProperty("distributionDiscount2")
|
|
|
- private Double distributionDiscount2;
|
|
|
- @JsonProperty("rawRecommenElr")
|
|
|
- private Double rawRecommenElr;
|
|
|
- @JsonProperty("rawRecommenElr1")
|
|
|
- private Double rawRecommenElr1;
|
|
|
- @JsonProperty("rawDistributionElr")
|
|
|
- private Double rawDistributionElr;
|
|
|
- @JsonProperty("rawDistributionElr1")
|
|
|
- private Double rawDistributionElr1;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- @JsonProperty("uwDiscount")
|
|
|
- private String uwDiscount;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class EffectInfoDTOListDTO {
|
|
|
- @JsonProperty("effectName")
|
|
|
- private String effectName;
|
|
|
- @JsonProperty("effectValue")
|
|
|
- private String effectValue;
|
|
|
- @JsonProperty("effectinfo")
|
|
|
- private String effectinfo;
|
|
|
- @JsonProperty("effectCode")
|
|
|
- private String effectCode;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class PlatFormMessageDTO {
|
|
|
- @JsonProperty("querySequenceNo")
|
|
|
- private String querySequenceNo;
|
|
|
- @JsonProperty("queryDate")
|
|
|
- private String queryDate;
|
|
|
- @JsonProperty("expireDate")
|
|
|
- private String expireDate;
|
|
|
- @JsonProperty("reinsuranceFlag")
|
|
|
- private String reinsuranceFlag;
|
|
|
- @JsonProperty("nonClaimAdjust")
|
|
|
- private String nonClaimAdjust;
|
|
|
- @JsonProperty("lastPolicyEffectiveDate")
|
|
|
- private String lastPolicyEffectiveDate;
|
|
|
- @JsonProperty("lastPolicyExpireDate")
|
|
|
- private String lastPolicyExpireDate;
|
|
|
- @JsonProperty("insureYears")
|
|
|
- private String insureYears;
|
|
|
- @JsonProperty("claimTimes")
|
|
|
- private String claimTimes;
|
|
|
- @JsonProperty("claimAdjustLevel")
|
|
|
- private String claimAdjustLevel;
|
|
|
- @JsonProperty("ciModelCode")
|
|
|
- private String ciModelCode;
|
|
|
- @JsonProperty("ciCarKind")
|
|
|
- private String ciCarKind;
|
|
|
- @JsonProperty("modelEnergyType")
|
|
|
- private String modelEnergyType;
|
|
|
- @JsonProperty("scoreCode")
|
|
|
- private String scoreCode;
|
|
|
- @JsonProperty("score")
|
|
|
- private Integer score;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class CoverageDTO {
|
|
|
- @JsonProperty("amount")
|
|
|
- private Integer amount;
|
|
|
- @JsonProperty("basePremium")
|
|
|
- private Double basePremium;
|
|
|
- @JsonProperty("coveragePremium")
|
|
|
- private Double coveragePremium;
|
|
|
- @JsonProperty("calculateFlag")
|
|
|
- private String calculateFlag;
|
|
|
- @JsonProperty("ifMainKind")
|
|
|
- private String ifMainKind;
|
|
|
- @JsonProperty("kindCode")
|
|
|
- private String kindCode;
|
|
|
- @JsonProperty("kindFlag")
|
|
|
- private Boolean kindFlag;
|
|
|
- @JsonProperty("kindName")
|
|
|
- private String kindName;
|
|
|
- @JsonProperty("notDeductibleCalculateFlag")
|
|
|
- private String notDeductibleCalculateFlag;
|
|
|
- @JsonProperty("notDeductibleIfMainKind")
|
|
|
- private String notDeductibleIfMainKind;
|
|
|
- @JsonProperty("notDeductibleKindFlag")
|
|
|
- private Boolean notDeductibleKindFlag;
|
|
|
- @JsonProperty("relatedInd")
|
|
|
- private String relatedInd;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("currency")
|
|
|
- private String currency;
|
|
|
- @JsonProperty("coverageStandardPremium")
|
|
|
- private Double coverageStandardPremium;
|
|
|
- @JsonProperty("coveragePremiumNoTax")
|
|
|
- private Double coveragePremiumNoTax;
|
|
|
- @JsonProperty("coverageTax")
|
|
|
- private Double coverageTax;
|
|
|
- @JsonProperty("rate")
|
|
|
- private Integer rate;
|
|
|
- @JsonProperty("shortRate")
|
|
|
- private Integer shortRate;
|
|
|
- @JsonProperty("shortRateType")
|
|
|
- private String shortRateType;
|
|
|
- @JsonProperty("deductibleRate")
|
|
|
- private Integer deductibleRate;
|
|
|
- @JsonProperty("discount")
|
|
|
- private Double discount;
|
|
|
- @JsonProperty("costPrem")
|
|
|
- private Double costPrem;
|
|
|
- @JsonProperty("coverageRiskPremium")
|
|
|
- private Double coverageRiskPremium;
|
|
|
- @JsonProperty("show")
|
|
|
- private Boolean show;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- @JsonProperty("quantity")
|
|
|
- private Integer quantity;
|
|
|
- @JsonProperty("unitAmount")
|
|
|
- private Integer unitAmount;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AdjustDTO {
|
|
|
- @JsonProperty("adjustCode")
|
|
|
- private String adjustCode;
|
|
|
- @JsonProperty("adjustName")
|
|
|
- private String adjustName;
|
|
|
- @JsonProperty("adjustRate")
|
|
|
- private Integer adjustRate;
|
|
|
- @JsonProperty("maxRate")
|
|
|
- private Integer maxRate;
|
|
|
- @JsonProperty("minRate")
|
|
|
- private Integer minRate;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class EngageDTO {
|
|
|
- @JsonProperty("engageCode")
|
|
|
- private String engageCode;
|
|
|
- @JsonProperty("engageTitle")
|
|
|
- private String engageTitle;
|
|
|
- @JsonProperty("engageDetail")
|
|
|
- private String engageDetail;
|
|
|
- @JsonProperty("modifyind")
|
|
|
- private String modifyind;
|
|
|
- @JsonProperty("chooseType")
|
|
|
- private String chooseType;
|
|
|
- @JsonProperty("deleteInd")
|
|
|
- private String deleteInd;
|
|
|
- @JsonProperty("serialNo")
|
|
|
- private Integer serialNo;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class CiContractDTO {
|
|
|
- @JsonProperty("contractMain")
|
|
|
- private ContractMainDTO contractMain;
|
|
|
- @JsonProperty("coverage")
|
|
|
- private List<CoverageDTO> coverage;
|
|
|
- @JsonProperty("platFormMessage")
|
|
|
- private PlatFormMessageDTO platFormMessage;
|
|
|
- @JsonProperty("tax")
|
|
|
- private TaxDTO tax;
|
|
|
- @JsonProperty("engage")
|
|
|
- private List<EngageDTO> engage;
|
|
|
- @JsonProperty("adjust")
|
|
|
- private List<AdjustDTO> adjust;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class ContractMainDTO {
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- @JsonProperty("proposalNo")
|
|
|
- private String proposalNo;
|
|
|
- @JsonProperty("riskCode")
|
|
|
- private String riskCode;
|
|
|
- @JsonProperty("riskName")
|
|
|
- private String riskName;
|
|
|
- @JsonProperty("validAtOnce")
|
|
|
- private String validAtOnce;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("renewalFlag")
|
|
|
- private String renewalFlag;
|
|
|
- @JsonProperty("currency")
|
|
|
- private String currency;
|
|
|
- @JsonProperty("sumAmount")
|
|
|
- private Integer sumAmount;
|
|
|
- @JsonProperty("totalPremium")
|
|
|
- private Integer totalPremium;
|
|
|
- @JsonProperty("noTaxPremium")
|
|
|
- private Double noTaxPremium;
|
|
|
- @JsonProperty("totalStandardPremium")
|
|
|
- private Integer totalStandardPremium;
|
|
|
- @JsonProperty("totalRiskPremium")
|
|
|
- private Integer totalRiskPremium;
|
|
|
- @JsonProperty("vat")
|
|
|
- private Double vat;
|
|
|
- @JsonProperty("discount")
|
|
|
- private Integer discount;
|
|
|
- @JsonProperty("querySequenceNo")
|
|
|
- private String querySequenceNo;
|
|
|
- @JsonProperty("underWriteInd")
|
|
|
- private String underWriteInd;
|
|
|
- @JsonProperty("othBusinessNo")
|
|
|
- private String othBusinessNo;
|
|
|
- @JsonProperty("isCIFlag")
|
|
|
- private String isCIFlag;
|
|
|
- @JsonProperty("sumTax")
|
|
|
- private Integer sumTax;
|
|
|
- @JsonProperty("querySeqExpireDate")
|
|
|
- private String querySeqExpireDate;
|
|
|
- @JsonProperty("uuid")
|
|
|
- private String uuid;
|
|
|
- @JsonProperty("signStatus")
|
|
|
- private String signStatus;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class PlatFormMessageDTO {
|
|
|
- @JsonProperty("querySequenceNo")
|
|
|
- private String querySequenceNo;
|
|
|
- @JsonProperty("expireDate")
|
|
|
- private String expireDate;
|
|
|
- @JsonProperty("reinsuranceFlag")
|
|
|
- private String reinsuranceFlag;
|
|
|
- @JsonProperty("lastPolicyEffectiveDate")
|
|
|
- private String lastPolicyEffectiveDate;
|
|
|
- @JsonProperty("lastPolicyExpireDate")
|
|
|
- private String lastPolicyExpireDate;
|
|
|
- @JsonProperty("ciCarKind")
|
|
|
- private String ciCarKind;
|
|
|
- @JsonProperty("claimaAdjustReason")
|
|
|
- private String claimaAdjustReason;
|
|
|
- @JsonProperty("claimaAdjustReasonName")
|
|
|
- private String claimaAdjustReasonName;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class TaxDTO {
|
|
|
- @JsonProperty("taxConditionCode")
|
|
|
- private String taxConditionCode;
|
|
|
- @JsonProperty("taxStartDate")
|
|
|
- private String taxStartDate;
|
|
|
- @JsonProperty("taxEndDate")
|
|
|
- private String taxEndDate;
|
|
|
- @JsonProperty("taxItemCode")
|
|
|
- private String taxItemCode;
|
|
|
- @JsonProperty("taxItemName")
|
|
|
- private String taxItemName;
|
|
|
- @JsonProperty("calculateMode")
|
|
|
- private String calculateMode;
|
|
|
- @JsonProperty("taxPayerIdentityType")
|
|
|
- private String taxPayerIdentityType;
|
|
|
- @JsonProperty("taxPayerIdentityNo")
|
|
|
- private String taxPayerIdentityNo;
|
|
|
- @JsonProperty("taxPayerIdentificationCode")
|
|
|
- private String taxPayerIdentificationCode;
|
|
|
- @JsonProperty("taxPayerName")
|
|
|
- private String taxPayerName;
|
|
|
- @JsonProperty("lastPaidYear")
|
|
|
- private Integer lastPaidYear;
|
|
|
- @JsonProperty("annualTaxAmount")
|
|
|
- private Integer annualTaxAmount;
|
|
|
- @JsonProperty("annualTaxDue")
|
|
|
- private Integer annualTaxDue;
|
|
|
- @JsonProperty("sumTaxDefault")
|
|
|
- private Integer sumTaxDefault;
|
|
|
- @JsonProperty("sumOverdue")
|
|
|
- private Integer sumOverdue;
|
|
|
- @JsonProperty("sumTax")
|
|
|
- private Integer sumTax;
|
|
|
- @JsonProperty("unladenMass")
|
|
|
- private String unladenMass;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class CoverageDTO {
|
|
|
- @JsonProperty("rate")
|
|
|
- private Integer rate;
|
|
|
- @JsonProperty("amount")
|
|
|
- private Integer amount;
|
|
|
- @JsonProperty("calculateFlag")
|
|
|
- private String calculateFlag;
|
|
|
- @JsonProperty("currency")
|
|
|
- private String currency;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("ifMainKind")
|
|
|
- private String ifMainKind;
|
|
|
- @JsonProperty("kindCode")
|
|
|
- private String kindCode;
|
|
|
- @JsonProperty("kindName")
|
|
|
- private String kindName;
|
|
|
- @JsonProperty("shortRate")
|
|
|
- private Integer shortRate;
|
|
|
- @JsonProperty("shortRateType")
|
|
|
- private String shortRateType;
|
|
|
- @JsonProperty("basePremium")
|
|
|
- private Integer basePremium;
|
|
|
- @JsonProperty("coverageStandardPremium")
|
|
|
- private Integer coverageStandardPremium;
|
|
|
- @JsonProperty("coveragePremium")
|
|
|
- private Integer coveragePremium;
|
|
|
- @JsonProperty("coveragePremiumNoTax")
|
|
|
- private Double coveragePremiumNoTax;
|
|
|
- @JsonProperty("coverageTax")
|
|
|
- private Double coverageTax;
|
|
|
- @JsonProperty("discount")
|
|
|
- private Integer discount;
|
|
|
- @JsonProperty("costPrem")
|
|
|
- private Double costPrem;
|
|
|
- @JsonProperty("coverageRiskPremium")
|
|
|
- private Integer coverageRiskPremium;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class EngageDTO {
|
|
|
- @JsonProperty("engageCode")
|
|
|
- private String engageCode;
|
|
|
- @JsonProperty("engageTitle")
|
|
|
- private String engageTitle;
|
|
|
- @JsonProperty("engageDetail")
|
|
|
- private String engageDetail;
|
|
|
- @JsonProperty("modifyind")
|
|
|
- private String modifyind;
|
|
|
- @JsonProperty("chooseType")
|
|
|
- private String chooseType;
|
|
|
- @JsonProperty("deleteInd")
|
|
|
- private String deleteInd;
|
|
|
- @JsonProperty("serialNo")
|
|
|
- private Integer serialNo;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AdjustDTO {
|
|
|
- @JsonProperty("adjustCode")
|
|
|
- private String adjustCode;
|
|
|
- @JsonProperty("adjustName")
|
|
|
- private String adjustName;
|
|
|
- @JsonProperty("adjustRate")
|
|
|
- private Integer adjustRate;
|
|
|
- @JsonProperty("policyId")
|
|
|
- private String policyId;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AccidentMainDTO {
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("planCode")
|
|
|
- private String planCode;
|
|
|
- @JsonProperty("comCode")
|
|
|
- private String comCode;
|
|
|
- @JsonProperty("totalPremium")
|
|
|
- private Integer totalPremium;
|
|
|
- @JsonProperty("coverages")
|
|
|
- private List<CoveragesDTO> coverages;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("riskCode")
|
|
|
- private String riskCode;
|
|
|
- @JsonProperty("amount")
|
|
|
- private Integer amount;
|
|
|
- @JsonProperty("premium")
|
|
|
- private Integer premium;
|
|
|
- @JsonProperty("name")
|
|
|
- private String name;
|
|
|
- @JsonProperty("detail")
|
|
|
- private String detail;
|
|
|
- @JsonProperty("seat")
|
|
|
- private Integer seat;
|
|
|
- @JsonProperty("feePercent")
|
|
|
- private Integer feePercent;
|
|
|
- @JsonProperty("assumpsit")
|
|
|
- private String assumpsit;
|
|
|
- @JsonProperty("carKindCode")
|
|
|
- private String carKindCode;
|
|
|
- @JsonProperty("useNatureCode")
|
|
|
- private String useNatureCode;
|
|
|
- @JsonProperty("type")
|
|
|
- private String type;
|
|
|
- @JsonProperty("proposalNo")
|
|
|
- private String proposalNo;
|
|
|
- @JsonProperty("underWriteInd")
|
|
|
- private String underWriteInd;
|
|
|
- @JsonProperty("uuid")
|
|
|
- private String uuid;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class CoveragesDTO {
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("createTime")
|
|
|
- private String createTime;
|
|
|
- @JsonProperty("liabilityCode")
|
|
|
- private String liabilityCode;
|
|
|
- @JsonProperty("amount")
|
|
|
- private Integer amount;
|
|
|
- @JsonProperty("premium")
|
|
|
- private Integer premium;
|
|
|
- @JsonProperty("name")
|
|
|
- private String name;
|
|
|
- @JsonProperty("productId")
|
|
|
- private String productId;
|
|
|
- @JsonProperty("productCode")
|
|
|
- private String productCode;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AccContractDTO {
|
|
|
- @JsonProperty("contractMain")
|
|
|
- private ContractMainDTO contractMain;
|
|
|
- @JsonProperty("coverage")
|
|
|
- private List<CoverageDTO> coverage;
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class ContractMainDTO {
|
|
|
- @JsonProperty("schemeName")
|
|
|
- private String schemeName;
|
|
|
- @JsonProperty("riskCode")
|
|
|
- private String riskCode;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("totalPremium")
|
|
|
- private Integer totalPremium;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class CoverageDTO {
|
|
|
- @JsonProperty("kindCode")
|
|
|
- private String kindCode;
|
|
|
- @JsonProperty("kindName")
|
|
|
- private String kindName;
|
|
|
- @JsonProperty("validDate")
|
|
|
- private String validDate;
|
|
|
- @JsonProperty("expiryDate")
|
|
|
- private String expiryDate;
|
|
|
- @JsonProperty("amount")
|
|
|
- private Integer amount;
|
|
|
- @JsonProperty("coveragePremium")
|
|
|
- private Integer coveragePremium;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class SubmitReqBodyDTO {
|
|
|
- @JsonProperty("uuid")
|
|
|
- private String uuid;
|
|
|
- @JsonProperty("businessType")
|
|
|
- private String businessType;
|
|
|
- @JsonProperty("contracts")
|
|
|
- private List<String> contracts;
|
|
|
- @JsonProperty("mandatoryReviewFlag")
|
|
|
- private Boolean mandatoryReviewFlag;
|
|
|
- @JsonProperty("reinsuranceFlag")
|
|
|
- private String reinsuranceFlag;
|
|
|
- @JsonProperty("signStatus")
|
|
|
- private String signStatus;
|
|
|
- @JsonProperty("acciRelatedFlag")
|
|
|
- private String acciRelatedFlag;
|
|
|
- @JsonProperty("codInd")
|
|
|
- private String codInd;
|
|
|
- @JsonProperty("sunlightId")
|
|
|
- private String sunlightId;
|
|
|
- @JsonProperty("underWriteInd")
|
|
|
- private String underWriteInd;
|
|
|
- @JsonProperty("amlterrorFlag")
|
|
|
- private String amlterrorFlag;
|
|
|
- @JsonProperty("smscheckFlag")
|
|
|
- private String smscheckFlag;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AcciSaleInfoDTO {
|
|
|
- @JsonProperty("comCode")
|
|
|
- private String comCode;
|
|
|
- @JsonProperty("comName")
|
|
|
- private String comName;
|
|
|
- @JsonProperty("handlerCode")
|
|
|
- private String handlerCode;
|
|
|
- @JsonProperty("handlerName")
|
|
|
- private String handlerName;
|
|
|
- @JsonProperty("agreementNo")
|
|
|
- private String agreementNo;
|
|
|
- @JsonProperty("agentCode")
|
|
|
- private String agentCode;
|
|
|
- @JsonProperty("agentName")
|
|
|
- private String agentName;
|
|
|
- @JsonProperty("solutionCode")
|
|
|
- private String solutionCode;
|
|
|
- @JsonProperty("permitNo")
|
|
|
- private String permitNo;
|
|
|
- @JsonProperty("businessMode")
|
|
|
- private String businessMode;
|
|
|
- @JsonProperty("businessSource")
|
|
|
- private String businessSource;
|
|
|
- @JsonProperty("channelType")
|
|
|
- private String channelType;
|
|
|
- @JsonProperty("channelTypeDetail")
|
|
|
- private String channelTypeDetail;
|
|
|
- @JsonProperty("cooperateSiteCode")
|
|
|
- private String cooperateSiteCode;
|
|
|
- @JsonProperty("cooperateSiteName")
|
|
|
- private String cooperateSiteName;
|
|
|
- @JsonProperty("id")
|
|
|
- private String id;
|
|
|
- @JsonProperty("orderId")
|
|
|
- private String orderId;
|
|
|
- @JsonProperty("dateType")
|
|
|
- private String dateType;
|
|
|
- }
|
|
|
-
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class YztScoreDTO {
|
|
|
- @JsonProperty("scoreId")
|
|
|
- private String scoreId;
|
|
|
- @JsonProperty("centile")
|
|
|
- private Integer centile;
|
|
|
- @JsonProperty("commercialPureLost")
|
|
|
- private Double commercialPureLost;
|
|
|
- @JsonProperty("finalLossrationRate")
|
|
|
- private Double finalLossrationRate;
|
|
|
- @JsonProperty("forcePureLost")
|
|
|
- private Double forcePureLost;
|
|
|
- @JsonProperty("targetPureLost")
|
|
|
- private Double targetPureLost;
|
|
|
- }
|
|
|
}
|