package com.gkhy.exam.system.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.time.LocalDateTime; import java.util.List; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /** *
* 文件更改作废申请主表 *
* * @author hh * @since 2025-08-25 15:01:44 */ @Getter @Setter @TableName("document_changes_invalidated") @ApiModel(value = "DocumentChangesInvalidated对象", description = "文件更改作废申请主表 ") public class DocumentChangesInvalidated implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty(value = "企业id",required = true) @TableField("company_id") @NotNull(message = "企业id不能为空") private Integer companyId; @ApiModelProperty(value ="文件名称",required = true) @TableField("file_name") @NotBlank(message = "文件名称不能为空") private String fileName; @ApiModelProperty(value ="编号",required = true) @TableField("number") @NotBlank(message = "编号不能为空") private String number; @ApiModelProperty(value ="提出部门",required = true) @TableField("dept_id") @NotNull(message = "提出部门不能为空") private Long deptId; @ApiModelProperty(value ="更改人",required = true) @TableField("modifier_id") @NotNull(message = "更改人不能为空") private Integer modifierId; @ApiModelProperty("更改人") @TableField("modifier_name") private String modifierName; @ApiModelProperty(value ="页次",required = true) @TableField("page_number") @NotNull(message = "页次不能为空") private Integer pageNumber; @ApiModelProperty(value ="原版/次",required = true) @TableField("original_number") @NotNull(message = "原版/次不能为空") private Integer originalNumber; @ApiModelProperty(value ="现版/次",required = true) @TableField("current_number") @NotNull(message = "现版/次不能为空") private Integer currentNumber; @ApiModelProperty(value ="更改原因",required = true) @TableField("modifier_reason") @NotBlank(message = "更改原因不能为空") private String modifierReason; @ApiModelProperty(value ="更改方式1规划2换页3换版",required = true) @TableField("modifier_type") @NotNull(message = "更改方式不能为空") private Integer modifierType; @ApiModelProperty(value ="更改日期",required = true) @TableField("modifier_time") @NotNull(message = "更改日期不能为空") private LocalDateTime modifierTime; @ApiModelProperty(value ="实施时间",required = true) @TableField("implement_time") @NotNull(message = "实施时间不能为空") private LocalDateTime implementTime; @ApiModelProperty(value ="更改前",required = true) @TableField("modifier_front") @NotBlank(message = "更改前不能为空") private String modifierFront; @ApiModelProperty(value ="更改后",required = true) @TableField("modifier_back") @NotBlank(message = "更改后不能为空") private String modifierBack; @ApiModelProperty(value ="申请人id",required = true) @TableField("apply_id") @NotNull(message = "申请人id不能为空") private Long applyId; @ApiModelProperty("申请人") @TableField("apply_name") private String applyName; @ApiModelProperty("申请时间") @TableField("apply_date") private LocalDateTime applyDate; @ApiModelProperty(value ="批准人id",required = true) @TableField("approval_id") @NotNull(message = "批准人id不能为空") private Long approvalId; @ApiModelProperty("批准人") @TableField("approval_name") private String approvalName; @ApiModelProperty("批准时间") @TableField("approval_date") private LocalDateTime approvalDate; @ApiModelProperty(value ="审核",required = true) @TableField("process_id") @NotNull(message = "审核不能为空") private Long processId; @ApiModelProperty("审核人") @TableField("process_name") private String processName; @ApiModelProperty("审核时间") @TableField("process_date") private LocalDateTime processDate; @ApiModelProperty("备注") @TableField("remark") private String remark; @ApiModelProperty("删除标志(0为删除,1删除,默认0)") @TableField("del_flag") private Integer delFlag; @ApiModelProperty("创建时间") @TableField("create_time") private LocalDateTime createTime; @ApiModelProperty("创建人") @TableField("create_by") private String createBy; @ApiModelProperty("更新时间") @TableField("update_time") private LocalDateTime updateTime; @ApiModelProperty("更新人") @TableField("update_by") private String updateBy; @ApiModelProperty("乐观锁") @TableField("version") private Integer version; @ApiModelProperty("发放表") @TableField(exist = false) private List