jiangping
2024-01-30 a9ca0823ab8f33ca85abebcf6ec4a8da235adb49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
package com.doumee.dao.business.model;
 
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;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
/**
 * 加减保换厂申请信息表
 * @author 江蹄蹄
 * @date 2024/01/16 10:03
 */
@Data
@ApiModel("加减保换厂申请信息表")
@TableName("`apply_change`")
public class ApplyChange {
 
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    @ExcelColumn(name="主键")
    private Integer id;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    @ExcelColumn(name="创建人编码")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="创建时间")
    private Date createDate;
 
    @ApiModelProperty(value = "最近操作时间")
    @ExcelColumn(name="最近操作时间")
 
    private Date checkDate;
 
    @ApiModelProperty(value = "最近操作备注")
    @ExcelColumn(name="最近操作备注")
    private String checkInfo;
 
    @ApiModelProperty(value = "最近操作人编码(关联system_user)", example = "1")
    @ExcelColumn(name="最近操作人编码(关联system_user)")
    private Integer checkUserId;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    @ExcelColumn(name="更新人编码")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(name="更新时间")
 
    private Date editDate;
 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1")
    @ExcelColumn(name="是否删除0否 1是")
    private Integer isdeleted;
 
    @ApiModelProperty(value = "备注")
    @ExcelColumn(name="备注")
    private String remark;
 
    @ApiModelProperty(value = "排序码", example = "1")
    @ExcelColumn(name="排序码")
    private Integer sortnum;
 
    @ApiModelProperty(value = "投保申请编码(关联insurance_apply", example = "1")
    @ExcelColumn(name="投保申请编码(关联insurance_apply")
    private Integer applyId;
 
    @ApiModelProperty(value = "单号")
    @ExcelColumn(name="单号")
    private String code;
 
    @ApiModelProperty(value = "批单生效时间")
    @ExcelColumn(name="批单生效时间")
    private Date applyStartTime;
 
    @ApiModelProperty(value = "状态 0待签署 1已签章 2已上传批单 3退回申请 4平台同意 5平台驳回")
    @ExcelColumn(name="状态 0待签署 1已签章 2已上传批单 3退回申请 4平台同意 5平台驳回")
    private Integer status;
    @ApiModelProperty(value = "在线签章合同号")
    private String signApplyNo;
    @ApiModelProperty(value = "期望保险生效起期")
    @ExcelColumn(name="期望保险生效起期")
    private Date validTime;
 
    @ApiModelProperty(value = "批单号")
    @ExcelColumn(name="批单号")
    private String validCode;
 
    @ApiModelProperty(value = "操作类型 0加减保 1换厂", example = "1")
    @ExcelColumn(name="操作类型 0加减保 1换厂")
    private Integer type;
 
    @ApiModelProperty(value = "变更金额")
    @ExcelColumn(name="变更金额")
    private BigDecimal fee;
    @ApiModelProperty(value = "保单号")
    @TableField(exist = false)
    private String applyCode;
 
    @ApiModelProperty(value = "企业名称")
    @TableField(exist = false)
    private String companyName;
 
 
    @ApiModelProperty(value = "方案名称")
    @TableField(exist = false)
    private String solutionsName;
 
 
    @ApiModelProperty(value = "加保人数")
    @TableField(exist = false)
    private Integer addNum;
 
    @ApiModelProperty(value = "变更金额")
    @TableField(exist = false)
    private BigDecimal changeMoney;
 
    @ApiModelProperty(value = "减保人数")
    @TableField(exist = false)
    private Integer delNum;
 
    @ApiModelProperty(value = "换厂人数")
    @TableField(exist = false)
    private Integer changeNum;
 
    @ApiModelProperty(value = "提交日期开始 yyyy-MM-dd ")
    @TableField(exist = false)
    private String createDateS;
 
    @ApiModelProperty(value = "提交日期结束  yyyy-MM-dd ")
    @TableField(exist = false)
    private String createDateE;
 
    @ApiModelProperty(value = "保险方案主键")
    @TableField(exist = false)
    private Integer solutionsId;
 
    @ApiModelProperty(value = "加保明细数据")
    @TableField(exist = false)
    private List<ApplyChagneDetail> addDetailList;
 
    @ApiModelProperty(value = "减保明细数据")
    @TableField(exist = false)
    private List<ApplyChagneDetail> delDetailList;
 
    @ApiModelProperty(value = "换厂明细数据")
    @TableField(exist = false)
    private List<ApplyChagneDetail> changeDetailList;
 
 
    @ApiModelProperty(value = "企业主键")
    @TableField(exist = false)
    private Integer companyId;
 
    @ApiModelProperty(value = "批单附件对象")
    @TableField(exist = false)
    private Multifile pidanFile;
    @ApiModelProperty(value = "处理企业申请状态  0同意 1驳回")
    @TableField(exist = false)
    private int dealBackApply;
 
    @ApiModelProperty(value = "保险生效起期")
    @TableField(exist = false)
    private Date startTime;
    @ApiModelProperty(value = "保险生效止期")
    @TableField(exist = false)
    private Date endTime;
 
 
 
    public TaxesInvoicingVO getTaxesInvoicingVO(){
        TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO();
        taxesInvoicingVO.setId(this.getId());
        taxesInvoicingVO.setSolutionsName(this.getSolutionsName());
        taxesInvoicingVO.setValidCode(this.getValidCode());
        taxesInvoicingVO.setAddNum(this.getAddNum());
        taxesInvoicingVO.setDelNum(this.getDelNum());
        taxesInvoicingVO.setAmount(this.getFee());
        taxesInvoicingVO.setType(Constants.ONE);
        return taxesInvoicingVO;
    }
 
}