package com.ktg.iscs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;

/**
 * 隔离点对象 is_isolation_point
 *
 * @author cgj
 * @date 2024-10-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsIsolationPoint extends BaseBean
{
    private static final long serialVersionUID = 1L;

    /** 隔离点ID */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "隔离点ID")
    private Long pointId;

    /** 隔离点编号 */
    @ApiModelProperty(value = "隔离点编号")
    @Excel(name = "隔离点编号")
    private String pointCode;

    /** 隔离点名称 */
    @ApiModelProperty(value = "隔离点名称")
    @Excel(name = "隔离点名称")
    private String pointName;

    /** 隔离点类型 */
    @ApiModelProperty(value = "隔离点类型")
    @Excel(name = "隔离点类型")
    private String pointType;

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

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

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

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

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

    /** 危险能量类型 */
    @ApiModelProperty(value = "危险能量类型")
    @Excel(name = "危险能量类型")
    private String powerType;

    /** 隔离方式 */
    @ApiModelProperty(value = "隔离方式")
    @Excel(name = "隔离方式")
    private String isolationMethod;

    /** 隔离点图标 */
    @ApiModelProperty(value = "隔离点图标")
    @Excel(name = "隔离点图标")
    private String pointIcon;

    /** 隔离点图片 */
    @ApiModelProperty(value = "隔离点图片")
    @Excel(name = "隔离点图片")
    private String pointPicture;

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

    @ApiModelProperty(value = "挂锁类型id")
    private Long lockTypeId;

    @ApiModelProperty(value = "锁具类型id")
    private Long locksetTypeId;

    @ApiModelProperty(value = "开关状态(0-开 1-关)")
    private String switchStatus;

    @ApiModelProperty(value = "隔离点序列号")
    @Excel(name = "隔离点序列号")
    private String pointSerialNumber;

    @ApiModelProperty(value = "开关布局ID")
    private Long switchMapId;

    @ApiModelProperty(value = "隔离点nfc")
    @Excel(name = "隔离点nfc")
    @TableField(exist = false)
    private String pointNfc;


}
