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;

import java.time.LocalDateTime;

/**
 * 数据库载具表映射
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_vehicle", autoResultMap = true)
public class TAppVehicle {
    /**
     * 载具号
     */
    @TableId(value = "vehicle_id")
    private String vehicleId;
    /**
     * 是否空载具
     */
    @TableField(value = "is_empty")
    private Integer isEmpty;
    /**
     * 载具状态
     */
    @TableField(value = "vehicle_status")
    private Integer vehicleStatus;
    /**
     * 载具类型
     */
    @TableField(value = "vehicle_type")
    private String vehicleType;
    /**
     * 是否锁定
     */
    @TableField(value = "is_lock")
    private Integer isLock;
    /**
     * 库位
     */
    @TableField(value = "location_id")
    private String locationId;
    /**
     * 上次入库时间
     */
    @TableField(value = "last_in_time")
    private LocalDateTime lastInTime;
}
