|
@@ -0,0 +1,246 @@
|
|
|
|
|
+package com.jzg.quotation.zhongan.crawler.entity.response;
|
|
|
|
|
+
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serial;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
|
|
+@NoArgsConstructor
|
|
|
|
|
+@Data
|
|
|
|
|
+public class ZhongAnCrawlerQuoteBaseResponse {
|
|
|
|
|
+
|
|
|
|
|
+ @Serial
|
|
|
|
|
+ private static final long serialVersionUID = -1L;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonProperty("errorMsg")
|
|
|
|
|
+ private String errorMsg;
|
|
|
|
|
+ @JsonProperty("ruleMsgTips")
|
|
|
|
|
+ private String ruleMsgTips;
|
|
|
|
|
+ @JsonProperty("errorCode")
|
|
|
|
|
+ private String errorCode;
|
|
|
|
|
+ @JsonProperty("value")
|
|
|
|
|
+ private ValueDTO value;
|
|
|
|
|
+ @JsonProperty("additionalInfo")
|
|
|
|
|
+ private AdditionalInfoDTO additionalInfo;
|
|
|
|
|
+ @JsonProperty("success")
|
|
|
|
|
+ private Boolean success;
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class ValueDTO {
|
|
|
|
|
+ @JsonProperty("quoteCoverageList")
|
|
|
|
|
+ private List<QuoteCoverageListDTO> quoteCoverageList;
|
|
|
|
|
+ @JsonProperty("showCoverageList")
|
|
|
|
|
+ private List<ShowCoverageListDTO> showCoverageList;
|
|
|
|
|
+ @JsonProperty("baseInfo")
|
|
|
|
|
+ private BaseInfoDTO baseInfo;
|
|
|
|
|
+ @JsonProperty("jyxInsureDTOList")
|
|
|
|
|
+ private List<JyxInsureDTOListDTO> jyxInsureDTOList;
|
|
|
|
|
+ @JsonProperty("amountList")
|
|
|
|
|
+ private List<AmountListDTO> amountList;
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class BaseInfoDTO {
|
|
|
|
|
+ @JsonProperty("vehicleModelDesc")
|
|
|
|
|
+ private String vehicleModelDesc;
|
|
|
|
|
+ @JsonProperty("vehicleOwnerName")
|
|
|
|
|
+ private String vehicleOwnerName;
|
|
|
|
|
+ @JsonProperty("insurePlaceName")
|
|
|
|
|
+ private String insurePlaceName;
|
|
|
|
|
+ @JsonProperty("insurePlaceCode")
|
|
|
|
|
+ private String insurePlaceCode;
|
|
|
|
|
+ @JsonProperty("modelEnergyType")
|
|
|
|
|
+ private String modelEnergyType;
|
|
|
|
|
+ @JsonProperty("vehiclePassengerCap")
|
|
|
|
|
+ private Integer vehiclePassengerCap;
|
|
|
|
|
+ @JsonProperty("vehicleLicencePlateNo")
|
|
|
|
|
+ private String vehicleLicencePlateNo;
|
|
|
|
|
+ @JsonProperty("vehicleActualPrice")
|
|
|
|
|
+ private String vehicleActualPrice;
|
|
|
|
|
+ @JsonProperty("isInsureBusinessInsurance")
|
|
|
|
|
+ private String isInsureBusinessInsurance;
|
|
|
|
|
+ @JsonProperty("isInsureCompelInsurance")
|
|
|
|
|
+ private String isInsureCompelInsurance;
|
|
|
|
|
+ @JsonProperty("businessInsEffectiveDate")
|
|
|
|
|
+ private Long businessInsEffectiveDate;
|
|
|
|
|
+ @JsonProperty("compelInsEffectiveDate")
|
|
|
|
|
+ private Long compelInsEffectiveDate;
|
|
|
|
|
+ @JsonProperty("syxClassid")
|
|
|
|
|
+ private String syxClassid;
|
|
|
|
|
+ @JsonProperty("vehicleUsageType")
|
|
|
|
|
+ private String vehicleUsageType;
|
|
|
|
|
+ @JsonProperty("quoteId")
|
|
|
|
|
+ private String quoteId;
|
|
|
|
|
+ @JsonProperty("instantEffectiveDate")
|
|
|
|
|
+ private Long instantEffectiveDate;
|
|
|
|
|
+ @JsonProperty("productModel")
|
|
|
|
|
+ private String productModel;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class QuoteCoverageListDTO {
|
|
|
|
|
+ @JsonProperty("productDefCode")
|
|
|
|
|
+ private String productDefCode;
|
|
|
|
|
+ @JsonProperty("policyProductCode")
|
|
|
|
|
+ private String policyProductCode;
|
|
|
|
|
+ @JsonProperty("productDefName")
|
|
|
|
|
+ private String productDefName;
|
|
|
|
|
+ @JsonProperty("amount")
|
|
|
|
|
+ private String amount;
|
|
|
|
|
+ @JsonProperty("standPremium")
|
|
|
|
|
+ private String standPremium;
|
|
|
|
|
+ @JsonProperty("premium")
|
|
|
|
|
+ private String premium;
|
|
|
|
|
+ @JsonProperty("isNonDeductible")
|
|
|
|
|
+ private Integer isNonDeductible;
|
|
|
|
|
+ @JsonProperty("baseRiderType")
|
|
|
|
|
+ private String baseRiderType;
|
|
|
|
|
+ @JsonProperty("productId")
|
|
|
|
|
+ private String productId;
|
|
|
|
|
+ @JsonProperty("showOrder")
|
|
|
|
|
+ private String showOrder;
|
|
|
|
|
+ @JsonProperty("greenWayCoverage")
|
|
|
|
|
+ private Boolean greenWayCoverage;
|
|
|
|
|
+ @JsonProperty("pureRiskPremium")
|
|
|
|
|
+ private String pureRiskPremium;
|
|
|
|
|
+ @JsonProperty("premiumRate")
|
|
|
|
|
+ private String premiumRate;
|
|
|
|
|
+ @JsonProperty("seats")
|
|
|
|
|
+ private String seats;
|
|
|
|
|
+ @JsonProperty("coverageTemplateCode")
|
|
|
|
|
+ private String coverageTemplateCode;
|
|
|
|
|
+ @JsonProperty("shortName")
|
|
|
|
|
+ private String shortName;
|
|
|
|
|
+ @JsonProperty("deductibleFee")
|
|
|
|
|
+ private String deductibleFee;
|
|
|
|
|
+ @JsonProperty("baseRiskId")
|
|
|
|
|
+ private Integer baseRiskId;
|
|
|
|
|
+ @JsonProperty("dutyAttributeValue")
|
|
|
|
|
+ private String dutyAttributeValue;
|
|
|
|
|
+ @JsonProperty("parentTemplateCode")
|
|
|
|
|
+ private String parentTemplateCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class ShowCoverageListDTO {
|
|
|
|
|
+ @JsonProperty("additionalRiderList")
|
|
|
|
|
+ private List<AdditionalRiderListDTO> additionalRiderList;
|
|
|
|
|
+ @JsonProperty("productId")
|
|
|
|
|
+ private Integer productId;
|
|
|
|
|
+ @JsonProperty("baseRiderType")
|
|
|
|
|
+ private String baseRiderType;
|
|
|
|
|
+ @JsonProperty("amount")
|
|
|
|
|
+ private String amount;
|
|
|
|
|
+ @JsonProperty("totalCoveragePremium")
|
|
|
|
|
+ private Double totalCoveragePremium;
|
|
|
|
|
+ @JsonProperty("productDefName")
|
|
|
|
|
+ private String productDefName;
|
|
|
|
|
+ @JsonProperty("isNonDeductible")
|
|
|
|
|
+ private Integer isNonDeductible;
|
|
|
|
|
+ @JsonProperty("showOrder")
|
|
|
|
|
+ private String showOrder;
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class AdditionalRiderListDTO {
|
|
|
|
|
+ @JsonProperty("additionalRiderList")
|
|
|
|
|
+ private List<?> additionalRiderList;
|
|
|
|
|
+ @JsonProperty("productId")
|
|
|
|
|
+ private Integer productId;
|
|
|
|
|
+ @JsonProperty("baseRiderType")
|
|
|
|
|
+ private String baseRiderType;
|
|
|
|
|
+ @JsonProperty("baseRiskId")
|
|
|
|
|
+ private Integer baseRiskId;
|
|
|
|
|
+ @JsonProperty("amount")
|
|
|
|
|
+ private String amount;
|
|
|
|
|
+ @JsonProperty("totalCoveragePremium")
|
|
|
|
|
+ private Double totalCoveragePremium;
|
|
|
|
|
+ @JsonProperty("productDefName")
|
|
|
|
|
+ private String productDefName;
|
|
|
|
|
+ @JsonProperty("isNonDeductible")
|
|
|
|
|
+ private Integer isNonDeductible;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class JyxInsureDTOListDTO {
|
|
|
|
|
+ @JsonProperty("productCode")
|
|
|
|
|
+ private String productCode;
|
|
|
|
|
+ @JsonProperty("productName")
|
|
|
|
|
+ private String productName;
|
|
|
|
|
+ @JsonProperty("campaignDefId")
|
|
|
|
|
+ private Integer campaignDefId;
|
|
|
|
|
+ @JsonProperty("campaignName")
|
|
|
|
|
+ private String campaignName;
|
|
|
|
|
+ @JsonProperty("agentUserCode")
|
|
|
|
|
+ private String agentUserCode;
|
|
|
|
|
+ @JsonProperty("showJiaYiXian")
|
|
|
|
|
+ private String showJiaYiXian;
|
|
|
|
|
+ @JsonProperty("insureJiaYiFlag")
|
|
|
|
|
+ private String insureJiaYiFlag;
|
|
|
|
|
+ @JsonProperty("vehiclePassengerCap")
|
|
|
|
|
+ private Integer vehiclePassengerCap;
|
|
|
|
|
+ @JsonProperty("jyxEnsureSeatNo")
|
|
|
|
|
+ private Integer jyxEnsureSeatNo;
|
|
|
|
|
+ @JsonProperty("jyxPremium")
|
|
|
|
|
+ private String jyxPremium;
|
|
|
|
|
+ @JsonProperty("combination")
|
|
|
|
|
+ private String combination;
|
|
|
|
|
+ @JsonProperty("driverAccidentInsuranceFlag")
|
|
|
|
|
+ private String driverAccidentInsuranceFlag;
|
|
|
|
|
+ @JsonProperty("driverAccidentInsuranceAmountOptions")
|
|
|
|
|
+ private String driverAccidentInsuranceAmountOptions;
|
|
|
|
|
+ @JsonProperty("zhiYingJyx")
|
|
|
|
|
+ private String zhiYingJyx;
|
|
|
|
|
+ @JsonProperty("isShortPolicy")
|
|
|
|
|
+ private String isShortPolicy;
|
|
|
|
|
+ @JsonProperty("supportSingleSell")
|
|
|
|
|
+ private String supportSingleSell;
|
|
|
|
|
+ @JsonProperty("isSupportInstant")
|
|
|
|
|
+ private String isSupportInstant;
|
|
|
|
|
+ @JsonProperty("productMode")
|
|
|
|
|
+ private String productMode;
|
|
|
|
|
+ @JsonProperty("bindInsurance")
|
|
|
|
|
+ private String bindInsurance;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class AmountListDTO {
|
|
|
|
|
+ @JsonProperty("extraMap")
|
|
|
|
|
+ private ExtraMapDTO extraMap;
|
|
|
|
|
+ @JsonProperty("id")
|
|
|
|
|
+ private Integer id;
|
|
|
|
|
+ @JsonProperty("dictId")
|
|
|
|
|
+ private Integer dictId;
|
|
|
|
|
+ @JsonProperty("parentId")
|
|
|
|
|
+ private Integer parentId;
|
|
|
|
|
+ @JsonProperty("name")
|
|
|
|
|
+ private String name;
|
|
|
|
|
+ @JsonProperty("code")
|
|
|
|
|
+ private String code;
|
|
|
|
|
+ @JsonProperty("extra")
|
|
|
|
|
+ private String extra;
|
|
|
|
|
+ @JsonProperty("level")
|
|
|
|
|
+ private Integer level;
|
|
|
|
|
+ @JsonProperty("childItems")
|
|
|
|
|
+ private List<?> childItems;
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class ExtraMapDTO {
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
|
+ @Data
|
|
|
|
|
+ public static class AdditionalInfoDTO {
|
|
|
|
|
+ }
|
|
|
|
|
+}
|