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 org.hibernate.validator.constraints.Length;
/**
 * 送检记录工具表
 * @author lijie 2021-12-25
 */
@Data
@ApiModel("送检记录工具表")
@EqualsAndHashCode(callSuper = true)
public class SecExperimentTool extends BaseEntity{

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

    @ApiModelProperty(value = "安全工具id")
    private Long toolId;

    @ApiModelProperty(value = "是否合格, 1 合格; 0 不合格、报废")
    private String isok;

    @ApiModelProperty(value = "送检记录id")
    private Long expId;

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

}