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-04
 */
@Data
@ApiModel("安全计划和工具关系表")
@EqualsAndHashCode(callSuper = true)
public class SecScheduledTool extends BaseEntity{

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

    @ApiModelProperty(value = "计划id")
    private Long scheduledId;

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

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

    public SecScheduledTool() {
    }

}