package com.ktg.iscs.domain.vo.machinery;

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

import java.util.List;

/**
 * 设备工艺对象 is_machinery
 *
 * @author cgj
 * @date 2024-12-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsMachineryVO extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备工艺ID")
    @TableId(type = IdType.AUTO)
    private Long machineryId;

    @ApiModelProperty(value = "设备工艺编号")
    @Excel(name = "设备工艺编号")
    private String machineryCode;

    @ApiModelProperty(value = "设备工艺名称")
    @Excel(name = "设备工艺名称")
    private String machineryName;

    @ApiModelProperty(value = "设备工艺类型")
    @Excel(name = "设备工艺类型")
    private String machineryType;

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

    @ApiModelProperty(value = "所属mars岗位Name")
    @Excel(name = "所属mars岗位Name")
    private String workstationName;

    @ApiModelProperty(value = "所属电柜ID")
    private Long lotoId;

    @ApiModelProperty(value = "所属电柜名称")
    @Excel(name = "所属电柜名称")
    private String lotoName;

    @ApiModelProperty(value = "工艺图")
    @Excel(name = "工艺图")
    private String machineryImg;

    @ApiModelProperty(value = "父部门id")
    @Excel(name = "父部门id")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    @Excel(name = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String status;

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

    @ApiModelProperty(value = "工艺涉及隔离点id")
    private List<Long> pointIdList;

    @ApiModelProperty(value = "工艺下的sop类型")
    private List<SysDictData> sysDictDatas;

}
