package org.wcs.model.po.app;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@TableName("t_app_stock_scan")
public class AppStockScan {

    /**
     * 扫码器ID
     */
    @TableId(value = "scan_id")
    private String scanId;

    /**
     * 扫码器名称
     */
    @TableField(value = "scan_name")
    private String scanName;

    /**
     * 扫码器状态
     */
    @TableField(value = "scan_status")
    private Integer scanStatus;

    /**
     * 扫码器类型
     */
    @TableField(value = "scan_type")
    private Integer scanType;

    /**
     * 扫码器方法
     */
    @TableField(value = "scan_method")
    private String scanMethod;

    /**
     * 扫码器参数1
     */
    @TableField(value = "param1")
    private String param1;

    /**
     * 扫码器参数2
     */
    @TableField(value = "param2")
    private String param2;

    /**
     * 扫码器参数3
     */
    @TableField(value = "param3")
    private String param3;

    /**
     * 管辖的PLC
     */
    @TableField(value = "plc_id")
    private Integer plcId;

    /**
     * 读取状态地址
     */
    @TableField(value = "read_status_address")
    private String readStatusAddress;

    /**
     * 写入任务地址
     */
    @TableField(value = "write_task_address")
    private String writeTaskAddress;

    /**
     * LED屏编号
     */
    @TableField(value = "led_no")
    private Integer ledNo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;


}
