|
@@ -19,170 +19,16 @@ import java.util.Map;
|
|
|
public class DaDiJointSalesResponse extends DaDiBaseResponse{
|
|
public class DaDiJointSalesResponse extends DaDiBaseResponse{
|
|
|
|
|
|
|
|
@SerializedName("accidentInsurance")
|
|
@SerializedName("accidentInsurance")
|
|
|
- private List<AccidentInsuranceDTO> accidentInsurance;
|
|
|
|
|
|
|
+ private List<InsuranceDTO> accidentInsurance;
|
|
|
@SerializedName("healthInsurance")
|
|
@SerializedName("healthInsurance")
|
|
|
- private List<HealthInsuranceDTO> healthInsurance;
|
|
|
|
|
|
|
+ private List<InsuranceDTO> healthInsurance;
|
|
|
@SerializedName("propertyInsurance")
|
|
@SerializedName("propertyInsurance")
|
|
|
- private List<PropertyInsuranceDTO> propertyInsurance;
|
|
|
|
|
|
|
+ private List<InsuranceDTO> propertyInsurance;
|
|
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class AccidentInsuranceDTO {
|
|
|
|
|
- @SerializedName("formulaGroupCode")
|
|
|
|
|
- private String formulaGroupCode;
|
|
|
|
|
- @SerializedName("formulaGroupName")
|
|
|
|
|
- private String formulaGroupName;
|
|
|
|
|
- @SerializedName("scene")
|
|
|
|
|
- private String scene;
|
|
|
|
|
- @SerializedName("productCode")
|
|
|
|
|
- private String productCode;
|
|
|
|
|
- @SerializedName("secondLine")
|
|
|
|
|
- private String secondLine;
|
|
|
|
|
- @SerializedName("isNingdeEraVehicleBatteryCheck")
|
|
|
|
|
- private String isNingdeEraVehicleBatteryCheck;
|
|
|
|
|
- @SerializedName("jointSalesSolutionVOS")
|
|
|
|
|
- private List<JointSalesSolutionVOSDTO> jointSalesSolutionVOS;
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class JointSalesSolutionVOSDTO {
|
|
|
|
|
- @SerializedName("planId")
|
|
|
|
|
- private int planId;
|
|
|
|
|
- @SerializedName("strategyId")
|
|
|
|
|
- private int strategyId;
|
|
|
|
|
- @SerializedName("formulaCode")
|
|
|
|
|
- private String formulaCode;
|
|
|
|
|
- @SerializedName("scene")
|
|
|
|
|
- private String scene;
|
|
|
|
|
- @SerializedName("customElement")
|
|
|
|
|
- private String customElement;
|
|
|
|
|
- @SerializedName("formulaName")
|
|
|
|
|
- private String formulaName;
|
|
|
|
|
- @SerializedName("formulaGroupName")
|
|
|
|
|
- private String formulaGroupName;
|
|
|
|
|
- @SerializedName("productCode")
|
|
|
|
|
- private String productCode;
|
|
|
|
|
- @SerializedName("policyNature")
|
|
|
|
|
- private String policyNature;
|
|
|
|
|
- @SerializedName("maxCount")
|
|
|
|
|
- private int maxCount;
|
|
|
|
|
- @SerializedName("minCount")
|
|
|
|
|
- private int minCount;
|
|
|
|
|
- @SerializedName("maxSeatCount")
|
|
|
|
|
- private int maxSeatCount;
|
|
|
|
|
- @SerializedName("minSeatCount")
|
|
|
|
|
- private int minSeatCount;
|
|
|
|
|
- @SerializedName("insuredAgeLower")
|
|
|
|
|
- private int insuredAgeLower;
|
|
|
|
|
- @SerializedName("insuredAgeLowerType")
|
|
|
|
|
- private String insuredAgeLowerType;
|
|
|
|
|
- @SerializedName("insuredAgeUpper")
|
|
|
|
|
- private int insuredAgeUpper;
|
|
|
|
|
- @SerializedName("insurantUpperlimit")
|
|
|
|
|
- private int insurantUpperlimit;
|
|
|
|
|
- @SerializedName("insurantLowerlimit")
|
|
|
|
|
- private int insurantLowerlimit;
|
|
|
|
|
- @SerializedName("insuredAgeUpperType")
|
|
|
|
|
- private String insuredAgeUpperType;
|
|
|
|
|
- @SerializedName("premium")
|
|
|
|
|
- private int premium;
|
|
|
|
|
- @SerializedName("amount")
|
|
|
|
|
- private int amount;
|
|
|
|
|
- @SerializedName("carNature")
|
|
|
|
|
- private String carNature;
|
|
|
|
|
- @SerializedName("familyInsuredCountLimit")
|
|
|
|
|
- private String familyInsuredCountLimit;
|
|
|
|
|
- @SerializedName("brandRange")
|
|
|
|
|
- private String brandRange;
|
|
|
|
|
- @SerializedName("isRenew")
|
|
|
|
|
- private String isRenew;
|
|
|
|
|
- @SerializedName("masterInsuredPersonFlag")
|
|
|
|
|
- private String masterInsuredPersonFlag;
|
|
|
|
|
- @SerializedName("modelCateCode")
|
|
|
|
|
- private String modelCateCode;
|
|
|
|
|
- @SerializedName("buizProductCode")
|
|
|
|
|
- private String buizProductCode;
|
|
|
|
|
- @SerializedName("customerLevel")
|
|
|
|
|
- private String customerLevel;
|
|
|
|
|
- @SerializedName("channelCode")
|
|
|
|
|
- private String channelCode;
|
|
|
|
|
- @SerializedName("prdPlanDefId")
|
|
|
|
|
- private String prdPlanDefId;
|
|
|
|
|
- @SerializedName("jointSalesSolutionItems")
|
|
|
|
|
- private List<JointSalesSolutionItemsDTO> jointSalesSolutionItems;
|
|
|
|
|
- @SerializedName("elements")
|
|
|
|
|
- private List<ElementsDTO> elements;
|
|
|
|
|
- @SerializedName("attachedElements")
|
|
|
|
|
- private List<?> attachedElements;
|
|
|
|
|
- @SerializedName("forms")
|
|
|
|
|
- private List<FormsDTO> forms;
|
|
|
|
|
- @SerializedName("isShowInsured")
|
|
|
|
|
- private String isShowInsured;
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class JointSalesSolutionItemsDTO {
|
|
|
|
|
- @SerializedName("kindCode")
|
|
|
|
|
- private String kindCode;
|
|
|
|
|
- @SerializedName("kindName")
|
|
|
|
|
- private String kindName;
|
|
|
|
|
- @SerializedName("linkSeats")
|
|
|
|
|
- private int linkSeats;
|
|
|
|
|
- @SerializedName("insureUnit")
|
|
|
|
|
- private String insureUnit;
|
|
|
|
|
- @SerializedName("subsidyAmount")
|
|
|
|
|
- private String subsidyAmount;
|
|
|
|
|
- @SerializedName("subsidyDay")
|
|
|
|
|
- private String subsidyDay;
|
|
|
|
|
- @SerializedName("defaultValue")
|
|
|
|
|
- private int defaultValue;
|
|
|
|
|
- @SerializedName("defaultAmount")
|
|
|
|
|
- private int defaultAmount;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class ElementsDTO {
|
|
|
|
|
- @SerializedName("id")
|
|
|
|
|
- private int id;
|
|
|
|
|
- @SerializedName("code")
|
|
|
|
|
- private String codeX;
|
|
|
|
|
- @SerializedName("name")
|
|
|
|
|
- private String name;
|
|
|
|
|
- @SerializedName("requireInput")
|
|
|
|
|
- private String requireInput;
|
|
|
|
|
- @SerializedName("defaultValue")
|
|
|
|
|
- private String defaultValue;
|
|
|
|
|
- @SerializedName("options")
|
|
|
|
|
- private List<?> options;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class FormsDTO {
|
|
|
|
|
- @SerializedName("id")
|
|
|
|
|
- private int id;
|
|
|
|
|
- @SerializedName("planformid")
|
|
|
|
|
- private String planformid;
|
|
|
|
|
- @SerializedName("plandefid")
|
|
|
|
|
- private long plandefid;
|
|
|
|
|
- @SerializedName("customformtitle")
|
|
|
|
|
- private String customformtitle;
|
|
|
|
|
- @SerializedName("customformcontent")
|
|
|
|
|
- private String customformcontent;
|
|
|
|
|
- @SerializedName("formcategory")
|
|
|
|
|
- private String formcategory;
|
|
|
|
|
- @SerializedName("productelementid")
|
|
|
|
|
- private String productelementid;
|
|
|
|
|
- @SerializedName("productelementcode")
|
|
|
|
|
- private String productelementcode;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
- public static class HealthInsuranceDTO {
|
|
|
|
|
|
|
+ public static class InsuranceDTO {
|
|
|
@SerializedName("formulaGroupCode")
|
|
@SerializedName("formulaGroupCode")
|
|
|
private String formulaGroupCode;
|
|
private String formulaGroupCode;
|
|
|
@SerializedName("formulaGroupName")
|
|
@SerializedName("formulaGroupName")
|
|
@@ -197,6 +43,8 @@ public class DaDiJointSalesResponse extends DaDiBaseResponse{
|
|
|
private String isNingdeEraVehicleBatteryCheck;
|
|
private String isNingdeEraVehicleBatteryCheck;
|
|
|
@SerializedName("jointSalesSolutionVOS")
|
|
@SerializedName("jointSalesSolutionVOS")
|
|
|
private List<JointSalesSolutionVOSDTO> jointSalesSolutionVOS;
|
|
private List<JointSalesSolutionVOSDTO> jointSalesSolutionVOS;
|
|
|
|
|
+ @SerializedName("key")
|
|
|
|
|
+ private String key;
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
@@ -335,148 +183,11 @@ public class DaDiJointSalesResponse extends DaDiBaseResponse{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class PropertyInsuranceDTO {
|
|
|
|
|
- @SerializedName("formulaGroupCode")
|
|
|
|
|
- private String formulaGroupCode;
|
|
|
|
|
- @SerializedName("formulaGroupName")
|
|
|
|
|
- private String formulaGroupName;
|
|
|
|
|
- @SerializedName("scene")
|
|
|
|
|
- private String scene;
|
|
|
|
|
- @SerializedName("productCode")
|
|
|
|
|
- private String productCode;
|
|
|
|
|
- @SerializedName("secondLine")
|
|
|
|
|
- private String secondLine;
|
|
|
|
|
- @SerializedName("isNingdeEraVehicleBatteryCheck")
|
|
|
|
|
- private String isNingdeEraVehicleBatteryCheck;
|
|
|
|
|
- @SerializedName("jointSalesSolutionVOS")
|
|
|
|
|
- private List<JointSalesSolutionVOSDTO> jointSalesSolutionVOS;
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class JointSalesSolutionVOSDTO {
|
|
|
|
|
- @SerializedName("planId")
|
|
|
|
|
- private int planId;
|
|
|
|
|
- @SerializedName("strategyId")
|
|
|
|
|
- private int strategyId;
|
|
|
|
|
- @SerializedName("formulaCode")
|
|
|
|
|
- private String formulaCode;
|
|
|
|
|
- @SerializedName("scene")
|
|
|
|
|
- private String scene;
|
|
|
|
|
- @SerializedName("customElement")
|
|
|
|
|
- private String customElement;
|
|
|
|
|
- @SerializedName("formulaName")
|
|
|
|
|
- private String formulaName;
|
|
|
|
|
- @SerializedName("formulaGroupName")
|
|
|
|
|
- private String formulaGroupName;
|
|
|
|
|
- @SerializedName("productCode")
|
|
|
|
|
- private String productCode;
|
|
|
|
|
- @SerializedName("maxCount")
|
|
|
|
|
- private int maxCount;
|
|
|
|
|
- @SerializedName("minCount")
|
|
|
|
|
- private int minCount;
|
|
|
|
|
- @SerializedName("maxSeatCount")
|
|
|
|
|
- private int maxSeatCount;
|
|
|
|
|
- @SerializedName("minSeatCount")
|
|
|
|
|
- private int minSeatCount;
|
|
|
|
|
- @SerializedName("insuredAgeLowerType")
|
|
|
|
|
- private String insuredAgeLowerType;
|
|
|
|
|
- @SerializedName("insuredAgeUpperType")
|
|
|
|
|
- private String insuredAgeUpperType;
|
|
|
|
|
- @SerializedName("premium")
|
|
|
|
|
- private double premium;
|
|
|
|
|
- @SerializedName("amount")
|
|
|
|
|
- private int amount;
|
|
|
|
|
- @SerializedName("carNature")
|
|
|
|
|
- private String carNature;
|
|
|
|
|
- @SerializedName("brandRange")
|
|
|
|
|
- private String brandRange;
|
|
|
|
|
- @SerializedName("masterInsuredPersonFlag")
|
|
|
|
|
- private String masterInsuredPersonFlag;
|
|
|
|
|
- @SerializedName("modelCateCode")
|
|
|
|
|
- private String modelCateCode;
|
|
|
|
|
- @SerializedName("buizProductCode")
|
|
|
|
|
- private String buizProductCode;
|
|
|
|
|
- @SerializedName("customerLevel")
|
|
|
|
|
- private String customerLevel;
|
|
|
|
|
- @SerializedName("channelCode")
|
|
|
|
|
- private String channelCode;
|
|
|
|
|
- @SerializedName("prdPlanDefId")
|
|
|
|
|
- private String prdPlanDefId;
|
|
|
|
|
- @SerializedName("jointSalesSolutionItems")
|
|
|
|
|
- private List<JointSalesSolutionItemsDTO> jointSalesSolutionItems;
|
|
|
|
|
- @SerializedName("elements")
|
|
|
|
|
- private List<ElementsDTO> elements;
|
|
|
|
|
- @SerializedName("attachedElements")
|
|
|
|
|
- private List<?> attachedElements;
|
|
|
|
|
- @SerializedName("forms")
|
|
|
|
|
- private List<FormsDTO> forms;
|
|
|
|
|
- @SerializedName("isShowInsured")
|
|
|
|
|
- private String isShowInsured;
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class JointSalesSolutionItemsDTO {
|
|
|
|
|
- @SerializedName("kindCode")
|
|
|
|
|
- private String kindCode;
|
|
|
|
|
- @SerializedName("kindName")
|
|
|
|
|
- private String kindName;
|
|
|
|
|
- @SerializedName("linkSeats")
|
|
|
|
|
- private int linkSeats;
|
|
|
|
|
- @SerializedName("insureUnit")
|
|
|
|
|
- private String insureUnit;
|
|
|
|
|
- @SerializedName("defaultValue")
|
|
|
|
|
- private double defaultValue;
|
|
|
|
|
- @SerializedName("defaultAmount")
|
|
|
|
|
- private int defaultAmount;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class ElementsDTO {
|
|
|
|
|
- @SerializedName("id")
|
|
|
|
|
- private int id;
|
|
|
|
|
- @SerializedName("code")
|
|
|
|
|
- private String codeX;
|
|
|
|
|
- @SerializedName("name")
|
|
|
|
|
- private String name;
|
|
|
|
|
- @SerializedName("requireInput")
|
|
|
|
|
- private String requireInput;
|
|
|
|
|
- @SerializedName("defaultValue")
|
|
|
|
|
- private String defaultValue;
|
|
|
|
|
- @SerializedName("options")
|
|
|
|
|
- private List<?> options;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class FormsDTO {
|
|
|
|
|
- @SerializedName("id")
|
|
|
|
|
- private int id;
|
|
|
|
|
- @SerializedName("plandefid")
|
|
|
|
|
- private long plandefid;
|
|
|
|
|
- @SerializedName("customformtitle")
|
|
|
|
|
- private String customformtitle;
|
|
|
|
|
- @SerializedName("customformcontent")
|
|
|
|
|
- private String customformcontent;
|
|
|
|
|
- @SerializedName("formcode")
|
|
|
|
|
- private String formcode;
|
|
|
|
|
- @SerializedName("formcategory")
|
|
|
|
|
- private String formcategory;
|
|
|
|
|
- @SerializedName("productelementid")
|
|
|
|
|
- private String productelementid;
|
|
|
|
|
- @SerializedName("productelementcode")
|
|
|
|
|
- private String productelementcode;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 将险种列表转换为Map,key为险种类型标识,value为对应的险种列表
|
|
* 将险种列表转换为Map,key为险种类型标识,value为对应的险种列表
|
|
|
*/
|
|
*/
|
|
|
- public Map<String, List<?>> toMap() {
|
|
|
|
|
- Map<String, List<?>> map = new LinkedHashMap<>();
|
|
|
|
|
|
|
+ public Map<String, List<InsuranceDTO>> toMap() {
|
|
|
|
|
+ Map<String, List<InsuranceDTO>> map = new LinkedHashMap<>();
|
|
|
if (accidentInsurance != null) {
|
|
if (accidentInsurance != null) {
|
|
|
map.put("accidentInsurance", accidentInsurance);
|
|
map.put("accidentInsurance", accidentInsurance);
|
|
|
}
|
|
}
|