package com.ktg.iscs.domain.vo.hardwareApi;

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

/**
 * 作业票关联锁对象 is_job_ticket_lock
 *
 * @author cgj
 * @date 2024-11-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class JobTicketLockVO extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "作业票ID")
    private Long ticketId;

    @ApiModelProperty(value = "锁具ID")
    private Long lockId;

    @ApiModelProperty(value = "挂锁nfc")
    private String lockNfc;

    @ApiModelProperty(value = "取出硬件ID")
    private Long fromHardwareId;

    @ApiModelProperty(value = "归还硬件ID")
    private Long toHardwareId;

    @ApiModelProperty(value = "隔离点ID")
    private Long isolationPointId;

    @ApiModelProperty(value = "锁具状态(0-待取出 1-未上锁 2-已上锁 3-待解锁 4-已解锁 5-已归还))")
    private String lockStatus;

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

}
