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_stock_update", autoResultMap = true)
public class TAppStockUpdate {
    /**
     * 库存更新记录id
     */
    @TableId(value = "update_id")
    private String updateId;
    /**
     * 载具号
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;
    /**
     * 料号
     */
    @TableField(value = "goods_id")
    private String goodsId;
    /**
     * 首次入库时间
     */
    @TableField(value = "first_in_time")
    private LocalDateTime firstInTime;
    /**
     * 原数量
     */
    @TableField(value = "before_num")
    private Double beforeNum;
    /**
     * 新数量
     */
    @TableField(value = "after_num")
    private Double afterNum;
    /**
     * 更新理由
     */
    @TableField(value = "reason")
    private String reason;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    /**
     * 更新用户
     */
    @TableField(value = "update_user")
    private String updateUser;
}
