package com.wms.entity.table;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 盘点清单
 */
@Data
@TableName(value = "tbl_app_inventory_list", autoResultMap = true)
public class InventoryList {
    /**
     * 盘点id
     */
    @TableId("inventory_id")
    private String inventoryId;
    /**
     * 料号
     */
    @TableField("goods_id")
    private String goodsId;
    /**
     * 库存数量
     */
    @TableField("stock_num")
    private BigDecimal stockNum;
    /**
     * 实际数量
     */
    @TableField("real_num")
    private BigDecimal realNum;
    /**
     * 盘点状态
     */
    @TableField("inventory_status")
    private Integer inventoryStatus;
    /**
     * 盘点用户
     */
    @TableField("inventory_user")
    private String inventoryUser;
    /**
     * 盘点日期
     */
    @TableField("inventory_date")
    private LocalDateTime inventoryDate;
    /**
     * 清单id
     */
    @TableField("list_id")
    private String listId;
}
