|  |  |  | 
|---|
|  |  |  | package com.doumee.dao.business.model; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
|---|
|  |  |  | import com.doumee.core.annotation.excel.ExcelColumn; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 理賠操作历史表 | 
|---|
|  |  |  | * @author 江蹄蹄 | 
|---|
|  |  |  | * @date 2024/01/15 15:07 | 
|---|
|  |  |  | * @date 2024/01/16 10:03 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @ApiModel("理賠操作历史表") | 
|---|
|  |  |  | @TableName("`settle_claims_log`") | 
|---|
|  |  |  | public class SettleClaimsLog { | 
|---|
|  |  |  | public SettleClaimsLog(){ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public SettleClaimsLog(SettleClaims  apply,String title,String content,Integer objId,Integer objType, String before,String after){ | 
|---|
|  |  |  | this.title =title; | 
|---|
|  |  |  | this.content=content; | 
|---|
|  |  |  | this.createDate =apply.getEditDate(); | 
|---|
|  |  |  | this.creator =apply.getEditor(); | 
|---|
|  |  |  | this.objId=objId; | 
|---|
|  |  |  | this.objType = objType; | 
|---|
|  |  |  | this.beforeContent=before; | 
|---|
|  |  |  | this.settleClainmsId=apply.getId(); | 
|---|
|  |  |  | this.afterContent=after; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @TableId(type = IdType.AUTO) | 
|---|
|  |  |  | @ApiModelProperty(value = "主键", example = "1") | 
|---|
|  |  |  | @ExcelColumn(name="主键") | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "创建时间") | 
|---|
|  |  |  | @ExcelColumn(name="创建时间") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Date createDate; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "更新人编码", example = "1") | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "更新时间") | 
|---|
|  |  |  | @ExcelColumn(name="更新时间") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Date editDate; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "是否删除0否 1是", example = "1") | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "关联对象编码") | 
|---|
|  |  |  | @ExcelColumn(name="关联对象编码") | 
|---|
|  |  |  | private String objId; | 
|---|
|  |  |  | private Integer objId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "操作前内容") | 
|---|
|  |  |  | @ExcelColumn(name="操作前内容") | 
|---|
|  |  |  | 
|---|
|  |  |  | @ExcelColumn(name="操作后内容") | 
|---|
|  |  |  | private String afterContent; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "创建人名称", example = "1") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String  creatorName; | 
|---|
|  |  |  | @ApiModelProperty(value = "创建人类型 0平台 1企业用户", example = "1") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Integer  creatorType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "公司名称", example = "1") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String  companyName; | 
|---|
|  |  |  | } | 
|---|