From e7f3835c7ffb0de6747c7c496c590f7f42e455fc Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 24 一月 2024 15:05:33 +0800
Subject: [PATCH] 111

---
 server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java |   53 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 52 insertions(+), 1 deletions(-)

diff --git a/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java b/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
index 4e65ee7..fa76347 100644
--- a/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
+++ b/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
@@ -2,6 +2,8 @@
 
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.doumee.core.annotation.excel.ExcelColumn;
+import com.doumee.core.utils.Constants;
+import com.doumee.dao.business.vo.TaxesInvoicingVO;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import com.baomidou.mybatisplus.annotation.IdType;
@@ -9,6 +11,7 @@
 import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
 
 import java.math.BigDecimal;
 import java.util.Date;
@@ -84,7 +87,6 @@
 
     @ApiModelProperty(value = "瀹為檯淇濋櫓鐢熸晥璧锋湡")
     @ExcelColumn(name="瀹為檯淇濋櫓鐢熸晥璧锋湡")
-
     private Date startTime;
 
     @ApiModelProperty(value = "鏈�杩戞搷浣滄椂闂�")
@@ -128,5 +130,54 @@
     @TableField(exist = false)
     private List<ApplyDetail> applyDetailList;
 
+    @ApiModelProperty(value = "鎶曚繚浜烘暟")
+    @TableField(exist = false)
+    private Integer insureNum;
 
+    @ApiModelProperty(value = "寮�绁ㄩ噾棰�")
+    @TableField(exist = false)
+    private BigDecimal taxesMoney;
+
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+    @ApiModelProperty(value = "鏈�鍚庝竴娆″紑绁ㄦ椂闂�")
+    @TableField(exist = false)
+    private Date taxesLast;
+
+    @ApiModelProperty(value = "澶辨晥鍓╀綑澶╂暟")
+    @TableField(exist = false)
+    private Integer loseEfficacyDays;
+
+    @ApiModelProperty(value = "鏈嶅姟澶╂暟")
+    @TableField(exist = false)
+    private Integer serviceDays;
+    @ApiModelProperty(value = "鎶曚繚鍗曞璞�")
+    @TableField(exist = false)
+    private Multifile toubaodanFile;
+    @ApiModelProperty(value = "鎶曚繚鍗曪紙宸茬缃诧級瀵硅薄")
+    @TableField(exist = false)
+    private Multifile toubaodanSignedFile;
+    @ApiModelProperty(value = "淇濋櫓鍗曞璞�")
+    @TableField(exist = false)
+    private Multifile baoxiandanFile;
+
+    @ApiModelProperty(value = "鏃ュ織璁板綍")
+    @TableField(exist = false)
+    private List<ApplyLog> applyLogList;
+    @ApiModelProperty(value = "澶勭悊浼佷笟鐢宠鐘舵��  0鍚屾剰 1椹冲洖")
+    @TableField(exist = false)
+    private int dealBackApply;
+
+
+    public TaxesInvoicingVO getTaxesInvoicingVO(){
+        TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO();
+        taxesInvoicingVO.setId(this.getId());
+        taxesInvoicingVO.setSolutionsName(this.getSolutionsName());
+        taxesInvoicingVO.setInsuranceCode(this.getCode());
+        taxesInvoicingVO.setInsuranceNum(this.getInsureNum());
+        taxesInvoicingVO.setStartTime(this.getStartTime());
+        taxesInvoicingVO.setAmount(this.getFee());
+        taxesInvoicingVO.setType(Constants.ZERO);
+        return taxesInvoicingVO;
+    }
 }

--
Gitblit v1.9.3