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_key
 *
 * @author cgj
 * @date 2024-11-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsKey extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "钥匙ID")
    @TableId(type = IdType.AUTO)
    private Long keyId;

    @ApiModelProperty(value = "钥匙编码")
    @Excel(name = "钥匙编码")
    private String keyCode;

    @ApiModelProperty(value = "钥匙名称")
    @Excel(name = "钥匙名称")
    private String keyName;

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

    @ApiModelProperty(value = "钥匙NFC")
    @Excel(name = "钥匙NFC")
    private String keyNfc;

    @ApiModelProperty(value = "MAC地址")
    @Excel(name = "MAC地址")
    private String macAddress;

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

    @ApiModelProperty(value = "规格型号")
    private String keySpec;

    @ApiModelProperty(value = "异常状态(0-异常 1-正常)")
    private String exStatus;

    @ApiModelProperty(value = "异常备注")
    private String exRemark;

}
