package com.ktg.iscs.domain;

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

/**
 * 锁控机柜对象 is_lock_cabinet
 *
 * @author cgj
 * @date 2025-05-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsLockCabinet extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "锁柜序号ID")
    @TableId(type = IdType.AUTO)
    private Long cabinetId;

    @ApiModelProperty(value = "锁柜编码")
    @Excel(name = "锁柜编码")
    private String cabinetCode;

    @ApiModelProperty(value = "锁柜名称")
    @Excel(name = "锁柜名称")
    private String cabinetName;

    @ApiModelProperty(value = "硬件ID")
    @Excel(name = "硬件ID")
    private Long hardwareId;

    @ApiModelProperty(value = "区域序号")
    @Excel(name = "区域序号")
    private Long workareId;

    @ApiModelProperty(value = "岗位序号")
    @Excel(name = "岗位序号")
    private Long workstationId;

    @ApiModelProperty(value = "图标")
    @Excel(name = "图标")
    private String cabinetIcon;

    @ApiModelProperty(value = "图片")
    @Excel(name = "图片")
    private String cabinetPicture;

    @ApiModelProperty(value = "是否在线(0-否 1-是)")
    @Excel(name = "是否在线(0-否 1-是)")
    private String isOnline;

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

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

    @ApiModelProperty(value = "序列号")
    @TableField(exist = false)
    private String serialNumber;

    @ApiModelProperty(value = "岗位名称")
    @TableField(exist = false)
    private String workstationName;

}
