| 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 org.springframework.format.annotation.DateTimeFormat; | 
|   | 
| 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平台同意(已退回) 6已关闭 ") | 
|     @ExcelColumn(name="状态 0待签署 1已签章 2已上传批单 3退回申请 (待签署) 4退回申请 (已签章)  5平台同意(已退回) 6已关闭 ") | 
|     private Integer status; | 
|     @ApiModelProperty(value = "合并单编码(关联union_change)", example = "1") | 
|     @ExcelColumn(name="合并单编码(关联union_change)") | 
|     private Integer unionChangeId; | 
|     @ApiModelProperty(value = "在线签章合同号") | 
|     private String signApplyNo; | 
|     @ApiModelProperty(value = "期望保险生效起期") | 
|     @ExcelColumn(name="期望保险生效起期") | 
|     private Date validTime; | 
|     @ApiModelProperty(value = "实际减保生效起期") | 
|     @ExcelColumn(name="实际减保生效起期") | 
|     private Date delValidTime; | 
|   | 
|     @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 = "合并单-投保单状态 0=未上传;1=已上传;2=已签署", example = "1") | 
|     private Integer unionChangeTbdStatus; | 
|   | 
|     @ApiModelProperty(value = "人员名单签署合同号") | 
|     @ExcelColumn(name="人员名单签署合同号") | 
|     private String signMemberListNo; | 
|   | 
|     @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 = "最后一次加减保/换厂日期") | 
|     @TableField(exist = false) | 
|     private Date lastChangeDate; | 
|   | 
|     @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 String applyStartS; | 
|   | 
|     @ApiModelProperty(value = "批单止效时间") | 
|     @TableField(exist = false) | 
|     private String applyStartE; | 
|   | 
|     @ApiModelProperty(value = "保险方案主键") | 
|     @TableField(exist = false) | 
|     private Integer solutionsId; | 
|     @ApiModelProperty(value = "保险方案主键(基表)") | 
|     @TableField(exist = false) | 
|     private Integer baseSolutionsId; | 
|     @ApiModelProperty(value = "申请单附件") | 
|     @TableField(exist = false) | 
|     private Multifile applyFile; | 
|     @ApiModelProperty(value = "申请单换厂附件") | 
|     @TableField(exist = false) | 
|     private Multifile applyUnitFile; | 
|     @ApiModelProperty(value = "批单附件") | 
|     @TableField(exist = false) | 
|     private Multifile pidanFile; | 
|   | 
|     @ApiModelProperty(value = "批减是否仅支持替换 0否 1是", example = "1") | 
|     @TableField(exist = false) | 
|     private Integer delOnlyReplace; | 
|   | 
|     @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 = "处理企业申请状态  0同意 1驳回") | 
|     @TableField(exist = false) | 
|     private int dealBackApply; | 
|   | 
|     @ApiModelProperty(value = "保险生效起期") | 
|     @TableField(exist = false) | 
|     private Date startTime; | 
|     @ApiModelProperty(value = "保险生效止期") | 
|     @TableField(exist = false) | 
|     private Date endTime; | 
|     @ApiModelProperty(value = "方案邮件") | 
|     @TableField(exist = false) | 
|     private String solutionEmail; | 
|     @ApiModelProperty(value = "日志记录") | 
|     @TableField(exist = false) | 
|     private List<ApplyLog> applyLogList; | 
|     @ApiModelProperty(value = "方案类型 0直保 1委托投保") | 
|     @TableField(exist = false) | 
|     private Integer solutionType; | 
|   | 
|     @ApiModelProperty(value = "合并单主键(保单)") | 
|     @TableField(exist = false) | 
|     private Integer unionApplyId; | 
|     @ApiModelProperty(value = "年份") | 
|     @TableField(exist = false) | 
|     private Integer year; | 
|     @ApiModelProperty(value = "统计条目数") | 
|     @TableField(exist = false) | 
|     private Integer countNum; | 
|     @ApiModelProperty(value = "提交日期开始 yyyy-MM ") | 
|     @TableField(exist = false) | 
|     private String month; | 
|   | 
|     public TaxesInvoicingVO toTaxesInvoicingVO(){ | 
|         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; | 
|     } | 
|     @ApiModelProperty(value = "是否获取附件信息 0不需要 1需要") | 
|     @TableField(exist = false) | 
|     private Integer getFiles; | 
| } |