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; /** *
* 6s检查主表 *
* * @author hh * @since 2025-08-25 15:01:44 */ @Getter @Setter @TableName("six_inspection") @ApiModel(value = "SixInspection对象", description = "6s检查主表") public class SixInspection 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("inspection_name") @NotNull(message = "检查表名称不能为空") private String inspectionName; @ApiModelProperty(value ="检查日期",required = true) @TableField("inspection_date") @NotNull(message = "检查日期不能为空") private LocalDateTime inspectionDate; @ApiModelProperty(value ="受检区域",required = true) @TableField("inspection_content") @NotBlank(message = "受检区域不能为空") private String inspectionContent; @ApiModelProperty(value ="年份",required = true) @TableField("year") @NotBlank(message = "年份不能为空") private String year; @ApiModelProperty(value = "审批人id",required = true) @TableField("approval_id") @NotNull(message = "审批人id不能为空") private Long approvalId; @ApiModelProperty("审批人") @TableField("approval_name") private String approvalName; @ApiModelProperty(value ="编制",required = true) @TableField("establishment_id") @NotNull(message = "编制不能为空") private Long establishmentId; @ApiModelProperty("编制人") @TableField("establishment_name") private String establishmentName; @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