package com.chushang.inspection.work.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
  * @auther: zhao
  * @date: 2024/6/26 17:13
  */
/**
 * 工单终端信息
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wrk_info_terminal_record")
public class WrkInfoTerminalRecord extends BaseEntity {
    /**
     * 工单id
     */
    @TableId(value = "wrk_id", type = IdType.INPUT)
    private Long wrkId;

    /**
     * 主键
     */
    @TableField(value = "terminal_id")
    private Long terminalId;





    /**
     * 终端sn号
     */
    @TableField(value = "terminal_sn")
    private String terminalSn;

    /**
     * 终端编号
     */
    @TableField(value = "terminal_no")
    private String terminalNo;

    /**
     * 终端类型
     */
    @TableField(value = "terminal_type")
    private Integer terminalType;

    /**
     * 终端型号
     */
    @TableField(value = "terminal_model")
    private String terminalModel;

    /**
     * 版本号
     */
    @TableField(value = "terminal_version")
    private String terminalVersion;

    /**
     * 终端地址
     */
    @TableField(value = "terminal_address")
    private String terminalAddress;

    /**
     * 终端来源
     */
    @TableField(value = "terminal_source")
    private Integer terminalSource;

    /**
     * 终端产权人
     */
    @TableField(value = "terminal_property")
    private Integer terminalProperty;

    /**
     * 是否占用
     */
    @TableField(value = "occupy")
    private Integer occupy;

    /**
     * 终端状态
     */
    @TableField(value = "terminal_status")
    private Integer terminalStatus;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
