package com.ktg.iscs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * SOP信息对象 is_sop
 *
 * @author cgj
 * @date 2024-10-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsSop extends BaseBean
{
    private static final long serialVersionUID = 1L;

    /** SOP ID */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "SOP ID")
    private Long sopId;

    /** SOP编号 */
    @ApiModelProperty(value = "SOP编号")
    @Excel(name = "SOP编号")
    private String sopCode;

    /** SOP名称 */
    @ApiModelProperty(value = "SOP名称")
    @Excel(name = "SOP名称")
    private String sopName;

    /** SOP类型 */
    @ApiModelProperty(value = "SOP类型")
    @Excel(name = "SOP类型")
    private String sopType;

    /** 所属车间ID */
    @ApiModelProperty(value = "所属车间ID")
    @Excel(name = "所属车间ID")
    private Long workshopId;

    /** 所属区域ID */
    @ApiModelProperty(value = "所属区域ID")
    @Excel(name = "所属区域ID")
    private Long workareaId;

    /** SOP内容 */
    @ApiModelProperty(value = "SOP内容")
    @Excel(name = "SOP内容")
    private String sopContent;

    /** SOP状态 */
    @ApiModelProperty(value = "SOP状态")
    @Excel(name = "SOP状态")
    private String sopStatus;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "权重序号")
    private Integer sopIndex;

    @ApiModelProperty(value = "所属岗位ID")
    private Long workstationId;

    @ApiModelProperty(value = "设备工艺ID")
    private Long machineryId;

}
