| | |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 投保申请操作历史表 |
| | |
| | | this.content=content; |
| | | this.applyId = apply.getId(); |
| | | this.createDate =apply.getEditDate(); |
| | | this.editor =apply.getEditor(); |
| | | this.creator =apply.getEditor(); |
| | | this.status = apply.getStatus(); |
| | | this.objId=objId; |
| | | this.objType = objType; |
| | | this.beforeContent=before; |
| | | this.afterContent=after; |
| | | } |
| | | |
| | | public ApplyLog(ApplyChange apply,String title,String content,Integer objId,Integer objType, String before,String after){ |
| | | this.title =title; |
| | | this.content=content; |
| | | this.applyId = apply.getId(); |
| | | this.createDate =apply.getEditDate(); |
| | | this.editor =apply.getEditor(); |
| | | this.creator =apply.getEditor(); |
| | | this.status = apply.getStatus(); |
| | | this.objId=objId; |
| | | this.objType = objType; |
| | | this.beforeContent=before; |
| | | this.afterContent=after; |
| | | } |
| | | |
| | | public ApplyLog(UnionApply apply,String title,String content,Integer objId,Integer objType, String before,String after){ |
| | | this.title =title; |
| | | this.content=content; |
| | | this.applyId = apply.getId(); |
| | | this.createDate =apply.getEditDate(); |
| | | this.creator =apply.getEditor(); |
| | | this.status = apply.getStatus(); |
| | | this.objId=objId; |
| | | this.objType = objType; |
| | | this.beforeContent=before; |
| | | this.afterContent=after; |
| | | } |
| | | |
| | | public ApplyLog(UnionChange apply,String title,String content,Integer objId,Integer objType, String before,String after){ |
| | | this.title =title; |
| | | this.content=content; |
| | | this.applyId = apply.getId(); |
| | | this.createDate =apply.getEditDate(); |
| | | this.creator =apply.getEditor(); |
| | | this.status = apply.getStatus(); |
| | | this.objId=objId; |
| | | this.objType = objType; |
| | | this.beforeContent=before; |
| | | this.afterContent=after; |
| | | } |
| | | |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | @ApiModelProperty(value = "主键", example = "1") |
| | |
| | | @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) |