|
|
@@ -4,9 +4,11 @@ package com.jzg.quotation.chengtai.crawler.entity.response;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -83,6 +85,9 @@ public class ChengTaiPremiumcaResponse implements Serializable {
|
|
|
@JsonProperty("adjust")
|
|
|
private List<AdjustDTO> adjust;
|
|
|
|
|
|
+ @JsonProperty("accident")
|
|
|
+ private List<AccidentDTO> accident;
|
|
|
+
|
|
|
@JsonProperty("tax")
|
|
|
private TaxDTO tax;
|
|
|
|
|
|
@@ -139,6 +144,8 @@ public class ChengTaiPremiumcaResponse implements Serializable {
|
|
|
private String expireDate;
|
|
|
@JsonProperty("reinsuranceFlag")
|
|
|
private String reinsuranceFlag;
|
|
|
+ @JsonProperty("question")
|
|
|
+ private String question;
|
|
|
@JsonProperty("lastPolicyEffectiveDate")
|
|
|
private String lastPolicyEffectiveDate;
|
|
|
@JsonProperty("lastPolicyExpireDate")
|
|
|
@@ -149,6 +156,7 @@ public class ChengTaiPremiumcaResponse implements Serializable {
|
|
|
private String claimaAdjustReason;
|
|
|
@JsonProperty("claimaAdjustReasonName")
|
|
|
private String claimaAdjustReasonName;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@@ -246,6 +254,37 @@ public class ChengTaiPremiumcaResponse implements Serializable {
|
|
|
@JsonProperty("policyId")
|
|
|
private String policyId;
|
|
|
}
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class AccidentDTO {
|
|
|
+
|
|
|
+ @JsonProperty("claimAmount")
|
|
|
+ private String claimAmount;
|
|
|
+
|
|
|
+ @JsonProperty("claimCloseTime")
|
|
|
+ private String claimCloseTime;
|
|
|
+
|
|
|
+ @JsonProperty("claimRegistrationNo")
|
|
|
+ private String claimRegistrationNo;
|
|
|
+
|
|
|
+ @JsonProperty("claimSequenceNo")
|
|
|
+ private String claimSequenceNo;
|
|
|
+
|
|
|
+ @JsonProperty("insurerCode")
|
|
|
+ private String insurerCode;
|
|
|
+
|
|
|
+ @JsonProperty("insurerName")
|
|
|
+ private String insurerName;
|
|
|
+
|
|
|
+ @JsonProperty("lossTime")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date lossTime;
|
|
|
+
|
|
|
+ @JsonProperty("policyNo")
|
|
|
+ private String policyNo;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@@ -602,8 +641,12 @@ public class ChengTaiPremiumcaResponse implements Serializable {
|
|
|
private String ruleSetName;
|
|
|
@JsonProperty("riskCode")
|
|
|
private String riskCode;
|
|
|
+ @JsonProperty("ruleId")
|
|
|
+ private String ruleId;
|
|
|
@JsonProperty("finalRuleResult")
|
|
|
private String finalRuleResult;
|
|
|
+ @JsonProperty("collegiateScenariosNam")
|
|
|
+ private String collegiateScenariosNam;
|
|
|
}
|
|
|
}
|
|
|
|