package com.wms_main.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据库Location表映射
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_location", autoResultMap = true)
public class TAppLocation {
    /**
     * 库位id
     */
    @TableId(value = "location_id")
    private String locationId;
    /**
     * 外部编号
     */
    @TableField(value = "outer_id")
    private String outerId;
    /**
     * 库位类型
     */
    @TableField(value = "location_type")
    private Integer locationType;
    /**
     * 是否锁定
     */
    @TableField(value = "is_lock")
    private Integer isLock;
    /**
     * 是否占用
     */
    @TableField(value = "is_occupy")
    private Integer isOccupy;
    /**
     * 是否在工作中
     */
    private Integer isWorking;
    /**
     * 对应设备号
     */
    @TableField(value = "equipment_id")
    private Integer equipmentId;
    /**
     * 对应巷道号
     */
    @TableField(value = "tunnel_id")
    private Integer tunnelId;
    /**
     * 排
     */
    @TableField(value = "l_row")
    private Integer lRow;
    /**
     * 列
     */
    @TableField(value = "l_col")
    private Integer lCol;
    /**
     * 层
     */
    @TableField(value = "l_layer")
    private Integer lLayer;
    /**
     * 深度
     */
    @TableField(value = "l_depth")
    private Integer lDepth;
    /**
     * 载具号
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;
    /**
     * 库区
     */
    @TableField(value = "area_id")
    private Integer areaId;
    /**
     * 子区域
     */
    @TableField(value = "sub_area")
    private String subArea;
}
