package com.ktg.iscs.domain;

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_slots
 *
 * @author cgj
 * @date 2025-05-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsLockCabinetSlots extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓位序号ID")
    @TableId(type = IdType.AUTO)
    private Long slotId;

    @ApiModelProperty(value = "仓位编号")
    @Excel(name = "仓位编号")
    private String slotCode;

    @ApiModelProperty(value = "锁柜序号")
    @Excel(name = "锁柜序号")
    private Long cabinetId;

    @ApiModelProperty(value = "仓位类型（0-钥匙 1-锁）")
    @Excel(name = "仓位类型", readConverterExp = "0=-钥匙,1=-锁")
    private String slotType;

    @ApiModelProperty(value = "行")
    @Excel(name = "行")
    private String row;

    @ApiModelProperty(value = "列")
    @Excel(name = "列")
    private String col;

    @ApiModelProperty(value = "是否被占用(0-否 1-是)")
    @Excel(name = "是否被占用(0-否 1-是)")
    private String isOccupied;

    @ApiModelProperty(value = "占用仓位的硬件id")
    @Excel(name = "占用仓位的硬件id")
    private Long occupiedBy;

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

    @ApiModelProperty(value = "状态（0-可用 1-不可用（异常））")
    @Excel(name = "状态", readConverterExp = "0=-可用,1=-不可用（异常")
    private String status;


}
