package com.railway.business.safetool.domain;

import com.railway.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
/**
 * 安全工具计划表
 * @author lijie 2021-12-04
 */
@Data
@ApiModel("安全工具计划表")
@EqualsAndHashCode(callSuper = true)
public class SecScheduled extends BaseEntity{

    @ApiModelProperty(value = "主键", hidden = true)
    protected Long id;

    @ApiModelProperty(value = "车间id")
    protected Long deptId;

    @ApiModelProperty(value = "存放处所")
    @Length(min = 1, max = 100, message = "【存放处所】长度必须介于 {min} 和 {max} 之间")
    protected String storePlace;

    @ApiModelProperty(value = "实验室id 部门表类型为实验室")
    protected Long labId;

    @ApiModelProperty(value = "计划送检日期")
    protected Date scheduledTime;

    @ApiModelProperty(value = "状态，0待送检，1已送检" )
    @Length(min = 1, max = 1, message = "【状态，0待送检，1已送检】长度必须介于 {min} 和 {max} 之间")
    protected String state;

    @ApiModelProperty(value = "del_flag", hidden = true)
    @Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
    protected String delFlag;

    @ApiModelProperty(value = "create_by", hidden = true)
    @Length(min = 1, max = 64, message = "【create_by】长度必须介于 {min} 和 {max} 之间")
    protected String createBy;

    @ApiModelProperty(value = "update_by", hidden = true)
    @Length(min = 1, max = 64, message = "【update_by】长度必须介于 {min} 和 {max} 之间")
    protected String updateBy;

    @ApiModelProperty(value = "update_time", hidden = true)
    protected Date updateTime;

    public SecScheduled() {
    }

}