| 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 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.util.Date; | 
|   | 
| /** | 
|  * 理賠操作历史表 | 
|  * @author 江蹄蹄 | 
|  * @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.isdeleted = Constants.ZERO; | 
|         this.objType = objType; | 
|         this.beforeContent=before; | 
|         this.settleClainmsId=apply.getId(); | 
|         this.afterContent=after; | 
|     } | 
|     @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 = "更新人编码", 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 = "理賠申请编码(关联settle_claims)", example = "1") | 
|     @ExcelColumn(name="理賠申请编码(关联settle_claims)") | 
|     private Integer settleClainmsId; | 
|   | 
|     @ApiModelProperty(value = "标题") | 
|     @ExcelColumn(name="标题") | 
|     private String title; | 
|   | 
|     @ApiModelProperty(value = "简介") | 
|     @ExcelColumn(name="简介") | 
|     private String content; | 
|   | 
|     @ApiModelProperty(value = "操作类型 0提交报案理赔(处理中) 1平台退回受理(已撤案) 2平台确认资料(处理中) 3平台完成受理(已结案) 4企业修改重新提交(处理中)  5企业补充说明 (处理中)  6平台理赔处理(处理中)  7平台备注标签(处理中)  8平台添加报案号(处理中)  9企业下载资料(处理中)  10平台下载资料(处理中)  11平台上传资料(处理中) ", example = "1") | 
|     @ExcelColumn(name="操作类型 0提交报案理赔(处理中) 1平台退回受理(已撤案) 2平台确认资料(处理中) 3平台完成受理(已结案) 4企业修改重新提交(处理中)  5企业补充说明 (处理中)  6平台理赔处理(处理中)  7平台备注标签(处理中)  8平台添加报案号(处理中)  9企业下载资料(处理中)  10平台下载资料(处理中)  11平台上传资料(处理中) ") | 
|     private Integer objType; | 
|   | 
|     @ApiModelProperty(value = "关联对象编码") | 
|     @ExcelColumn(name="关联对象编码") | 
|     private Integer objId; | 
|   | 
|     @ApiModelProperty(value = "操作前内容") | 
|     @ExcelColumn(name="操作前内容") | 
|     private String beforeContent; | 
|   | 
|     @ApiModelProperty(value = "操作后内容") | 
|     @ExcelColumn(name="操作后内容") | 
|     private String afterContent; | 
|   | 
|     @ApiModelProperty(value = "大类类型:1=报案 2=立案 3=受理 4=理算 5=核赔 6=结案 7=立案退回 8商议退回 9已撤案") | 
|     private Integer parentStatus; | 
|   | 
|     @ApiModelProperty(value = "业务类型") | 
|     private Integer status; | 
|   | 
|   | 
|     @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; | 
| } |