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;

/**
 * 数据库Stock表映射
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_stock", autoResultMap = true)
public class TAppStock {
    /**
     * 库存编号
     */
    @TableId(value = "stock_id")
    private String stockId;
    /**
     * 载具号
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;
    /**
     * 库位号
     */
    @TableField(value = "location_id")
    private String locationId;
    /**
     * 库存状态
     */
    @TableField(value = "stock_status")
    private Integer stockStatus;

    @TableField(value = "in_task_id")
    private String inTaskId;
    /**
     * 初次入库时间
     */
    @TableField(value = "first_in_time")
    private LocalDateTime firstInTime;
    /**
     * 初次入库用户
     */
    @TableField(value = "first_in_user")
    private String firstInUser;
    /**
     * 上次更新时间
     */
    @TableField(value = "last_update_time")
    private LocalDateTime lastUpdateTime;
    /**
     * 上次更新用户
     */
    @TableField(value = "last_update_user")
    private String lastUpdateUser;
}
