|
|
@@ -2,10 +2,13 @@ package com.ydtech.modules.order.entity.api.zhongmei.response;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import com.ydtech.modules.order.entity.api.zhongmei.BaseResponse;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
+import java.io.Serializable;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -15,53 +18,75 @@ import java.util.List;
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
+@ApiModel("非车可投保产品")
|
|
|
public class RideAccidentQueryResponse extends BaseResponse {
|
|
|
|
|
|
-
|
|
|
private static final long serialVersionUID = 823665625721938302L;
|
|
|
|
|
|
- //非车可投保产品信息
|
|
|
@JsonProperty("rideAccident")
|
|
|
- private List<RideAccident> rideAccidents;
|
|
|
+ @ApiModelProperty("非车可投保产品信息")
|
|
|
+ private List<RideAccidentDTO> rideAccident;
|
|
|
+
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
- public static class RideAccident {
|
|
|
+ public static class RideAccidentDTO implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = -7482346783799487403L;
|
|
|
+
|
|
|
+ @JsonProperty("accAmountView")
|
|
|
+ @ApiModelProperty("产品保险责任信息展示")
|
|
|
+ private List<AccAmountViewDTO> accAmountView;
|
|
|
+
|
|
|
+ @JsonProperty("divideType")
|
|
|
+ @ApiModelProperty("险种分类 YW--意外险/ZH--组合险、JC--家财险、YL--医疗、GY--个意、CR--传染")
|
|
|
+ private String divideType;
|
|
|
+
|
|
|
+ @JsonProperty("engage")
|
|
|
+ @ApiModelProperty("特别约定")
|
|
|
+ private List<String> engage;
|
|
|
+
|
|
|
+ @JsonProperty("insuranceHabit")
|
|
|
+ @ApiModelProperty("投保习惯")
|
|
|
+ private String insuranceHabit;
|
|
|
+
|
|
|
+ @JsonProperty("maxQuantity")
|
|
|
+ @ApiModelProperty("最大投保份数")
|
|
|
+ private String maxQuantity;
|
|
|
|
|
|
- //方案代码
|
|
|
@JsonProperty("rideRiskCode")
|
|
|
+ @ApiModelProperty("方案代码")
|
|
|
private String rideRiskCode;
|
|
|
- //方案名称
|
|
|
+
|
|
|
@JsonProperty("rideRiskName")
|
|
|
+ @ApiModelProperty("方案名称")
|
|
|
private String rideRiskName;
|
|
|
- //最大投保份数
|
|
|
- @JsonProperty("maxQuantity")
|
|
|
- private String maxQuantity;
|
|
|
- //单位保费
|
|
|
- @JsonProperty("unitPremium")
|
|
|
- private String unitPremium;
|
|
|
- //单位保额
|
|
|
+
|
|
|
@JsonProperty("unitAmount")
|
|
|
+ @ApiModelProperty("单位保额")
|
|
|
private String unitAmount;
|
|
|
- //产品保险责任信息展示
|
|
|
- @JsonProperty("accAmountView")
|
|
|
- private List<AccAmountView> accAmountView;
|
|
|
- //特别约定
|
|
|
- @JsonProperty("engage")
|
|
|
- private List<String> engage;
|
|
|
- }
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
- @Data
|
|
|
- public static class AccAmountView {
|
|
|
-
|
|
|
- @JsonProperty("insurName")
|
|
|
- private String insurName;
|
|
|
- @JsonProperty("amountName")
|
|
|
- private String amountName;
|
|
|
- @JsonProperty("userToCalcAmount")
|
|
|
- private String userToCalcAmount;
|
|
|
- @JsonProperty("unitFlag")
|
|
|
- private String unitFlag;
|
|
|
+ @JsonProperty("unitPremium")
|
|
|
+ @ApiModelProperty("单位保费")
|
|
|
+ private String unitPremium;
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class AccAmountViewDTO implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = -74104212491097854L;
|
|
|
+
|
|
|
+ @JsonProperty("amountName")
|
|
|
+ @ApiModelProperty("保险责任对应保额")
|
|
|
+ private String amountName;
|
|
|
+
|
|
|
+ @JsonProperty("insurName")
|
|
|
+ @ApiModelProperty("保险责任名称")
|
|
|
+ private String insurName;
|
|
|
+
|
|
|
+ @JsonProperty("unitFlag")
|
|
|
+ @ApiModelProperty("单位标志")
|
|
|
+ private String unitFlag;
|
|
|
+ }
|
|
|
}
|
|
|
}
|