|
|
@@ -1,11 +1,16 @@
|
|
|
package com.ydtech.modules.ins.model.vo;
|
|
|
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import com.ydtech.modules.order.entity.TaxArrears;
|
|
|
+import com.ydtech.modules.order.entity.crawler.response.CrawlerQuoteResponse;
|
|
|
import com.ydtech.modules.order.entity.vo.CoreModelsVo;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
|
|
|
+import java.io.Serializable;
|
|
|
import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -122,9 +127,39 @@ public class QuoteRespVo {
|
|
|
@ApiModelProperty("核心返回车型")
|
|
|
private CoreModelsVo coreModels;
|
|
|
|
|
|
+ /**
|
|
|
+ * 预核保信息
|
|
|
+ */
|
|
|
+ @JsonProperty("predict_info")
|
|
|
+ private List<PreUnderwritingInfoDTO> predictInfo;
|
|
|
+
|
|
|
+
|
|
|
public List<AccidentResponseVo> getAccidentInfo() {
|
|
|
return accident == null ? Collections.emptyList() : accident;
|
|
|
}
|
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ @ApiModel("预核保信息")
|
|
|
+ public static class PreUnderwritingInfoDTO implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = -4403793340565853838L;
|
|
|
+
|
|
|
+ @ApiModelProperty("备注")
|
|
|
+ @JsonProperty("description")
|
|
|
+ private String description;
|
|
|
+
|
|
|
+ @ApiModelProperty("备注")
|
|
|
+ @JsonProperty("opinion")
|
|
|
+ private String opinion;
|
|
|
+
|
|
|
+ public PreUnderwritingInfoDTO(CrawlerQuoteResponse.OtherDto.PredictInfoDTO predictInfoDTO) {
|
|
|
+ this.description = predictInfoDTO.getDescription();
|
|
|
+ this.opinion = predictInfoDTO.getOpinion();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|