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.LocalDate;
|
import java.time.LocalDateTime;
|
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;
|
|
/**
|
* <p>
|
* 管理审批计划
|
* </p>
|
*
|
* @author hh
|
* @since 2025-07-10 15:11:50
|
*/
|
@Getter
|
@Setter
|
@TableName("management_plan")
|
@ApiModel(value = "ManagementPlan对象", description = "管理审批计划")
|
public class ManagementPlan implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
@ApiModelProperty("企业ID")
|
@TableField("company_id")
|
@NotNull(message = "企业ID不能为空")
|
private Integer companyId;
|
|
@ApiModelProperty("编号")
|
@TableField("number")
|
@NotBlank(message = "编号不能为空")
|
private String number;
|
|
@ApiModelProperty("年份")
|
@TableField("year")
|
@NotBlank(message = "年份不能为空")
|
private String year;
|
|
@ApiModelProperty("编制人ID")
|
@TableField("fiction_id")
|
@NotNull(message = "编制人ID不能为空")
|
private Integer fictionId;
|
|
@ApiModelProperty("编制人名称")
|
@TableField("fiction_name")
|
@NotBlank(message = "编制人名称不能为空")
|
private String fictionName;
|
|
@ApiModelProperty("编制时间")
|
@TableField("fiction_time")
|
@NotNull(message = "编制时间不能为空")
|
private LocalDate fictionTime;
|
|
@ApiModelProperty("审核人ID")
|
@TableField("check_id")
|
@NotNull(message = "审核人ID不能为空")
|
private Integer checkId;
|
|
@ApiModelProperty("审核人名称")
|
@TableField("check_name")
|
@NotBlank(message = "审核人名称不能为空")
|
private String checkName;
|
|
@ApiModelProperty("审核时间")
|
@TableField("check_time")
|
@NotNull(message = "审核时间不能为空")
|
private LocalDate checkTime;
|
|
@ApiModelProperty("批准人ID")
|
@TableField("ratify_id")
|
@NotNull(message = "批准人ID不能为空")
|
private Integer ratifyId;
|
|
@ApiModelProperty("批准人名称")
|
@TableField("ratify_name")
|
@NotBlank(message = "批准人名称不能为空")
|
private String ratifyName;
|
|
@ApiModelProperty("批准时间")
|
@TableField("ratify_time")
|
@NotNull(message = "批准时间不能为空")
|
private LocalDate ratifyTime;
|
|
@ApiModelProperty("内容")
|
@TableField("content")
|
@NotBlank(message = "内容不能为空")
|
private String content;
|
|
@ApiModelProperty("目的")
|
@TableField("objective")
|
@NotBlank(message = "目的不能为空")
|
private String objective;
|
|
@ApiModelProperty("地点")
|
@TableField("location")
|
@NotBlank(message = "地点不能为空")
|
private String location;
|
|
@ApiModelProperty("人员")
|
@TableField("staff")
|
@NotBlank(message = "人员不能为空")
|
private String staff;
|
|
@ApiModelProperty("报告")
|
@TableField("report")
|
@NotBlank(message = "报告不能为空")
|
private String report;
|
|
@ApiModelProperty("是否删除0否1是")
|
@TableField("del_flag")
|
private Integer delFlag;
|
|
@TableField("create_by")
|
private String createBy;
|
|
@TableField("create_time")
|
private LocalDateTime createTime;
|
|
@TableField("update_by")
|
private String updateBy;
|
|
@TableField("update_time")
|
private LocalDateTime updateTime;
|
|
|
}
|