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;

@Getter
@Setter
@TableName("t_app_convey_location")
public class AppConveyLocation {

    /**
     * 位置ID
     */
    @TableId(value = "location_id")
    private String locationId;

    /**
     * 业务位置ID
     */
    @TableField(value = "business_location_id")
    private String businessLocationId;

    /**
     * 位置名称
     */
    @TableField(value = "location_name")
    private String locationName;

    /**
     * 位置类型
     */
    @TableField(value = "location_type")
    private Integer locationType;

    /**
     * 位置状态
     */
    @TableField(value = "location_status")
    private Integer locationStatus;

    /**
     * 路由ID
     */
    @TableField(value = "location_router")
    private Integer locationRouter;

    /**
     * 区域ID
     */
    @TableField(value = "area_id")
    private String areaId;

    /**
     * 所属PLC
     */
    @TableField(value = "plc_id")
    private Integer plcId;

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

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

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

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

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


}
