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;
|
|
/**
|
* <p>
|
* 年度检定计划主表
|
* </p>
|
*
|
* @author hh
|
* @since 2025-08-25 15:01:44
|
*/
|
@Getter
|
@Setter
|
@TableName("annual_verification_plan")
|
@ApiModel(value = "AnnualVerificationPlan对象", description = "年度检定计划主表")
|
public class AnnualVerificationPlan 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("name")
|
@NotBlank(message = "名称不能为空")
|
private String name;
|
|
@ApiModelProperty(value = "年",required = true)
|
@TableField("year")
|
@NotBlank(message = "年不能为空")
|
private String year;
|
|
@ApiModelProperty(value = "编制",required = true)
|
@TableField("establishment_id")
|
@NotNull(message = "编制不能为空")
|
private Long establishmentId;
|
|
@ApiModelProperty("编制人")
|
@TableField("establishment_name")
|
private String establishmentName;
|
|
@ApiModelProperty(value = "编制日期",required = true)
|
@NotNull(message = "编制日期不能为空")
|
@TableField("establishment_time")
|
private LocalDateTime establishmentTime;
|
|
@ApiModelProperty(value = "审核",required = true)
|
@TableField("process_id")
|
@NotNull(message = "审核不能为空")
|
private Long processId;
|
|
@ApiModelProperty("审核人")
|
@TableField("process_name")
|
private String processName;
|
|
@ApiModelProperty(value = "审核日期",required = true)
|
@TableField("process_time")
|
@NotNull(message = "审核日期不能为空")
|
private LocalDateTime processTime;
|
|
@ApiModelProperty("检定证书")
|
@TableField("certificate")
|
private String certificate;
|
|
@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;
|
|
@TableField(exist = false)
|
@ApiModelProperty("年度检定计划设备表")
|
private List<AnnualVerificationDevice> annualVerificationDevices;
|
|
@TableField(exist = false)
|
@ApiModelProperty("年度检定计划设备表删除数据")
|
private List<Long> delData;
|
|
|
}
|