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

    @ApiModelProperty(value = "工作卡ID")
    @TableId(type = IdType.AUTO)
    private Long cardId;

    @ApiModelProperty(value = "工作卡编号")
    @Excel(name = "工作卡编号")
    private String cardCode;

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

    @ApiModelProperty(value = "工作卡NFC")
    @Excel(name = "工作卡NFC")
    private String cardNfc;

    @ApiModelProperty(value = "1: 员工卡；2: 临时卡")
    @Excel(name = "1: 员工卡；2: 临时卡")
    private Integer cardType;

    @ApiModelProperty(value = "绑定用户ID")
    @Excel(name = "绑定用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名称或临时用户ID")
    @Excel(name = "用户名称或临时用户ID")
    private String userName;

    @ApiModelProperty(value = "用户名称或临时用户ID")
    @Excel(name = "用户名称或临时用户ID")
    @TableField(exist = false)
    private String nickName;

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

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

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

}
