package com.wms_main.excel.easypoi.excelTemplate;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 库存模版
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockExcelTemplate {
    /**
     * 库存编号
     */
    @Excel(name = "库存编号")
    private String stockId;
    /**
     * 载具号
     */
    @Excel(name = "载具号")
    private String vehicleId;
    /**
     * 库位号
     */
    @Excel(name = "库位")
    private String locationId;
    /**
     * 库存状态
     */
    @Excel(name = "库存状态")
    private Integer stockStatus;
    /**
     * 物料编号
     */
    @Excel(name = "物料编号")
    private String goodsId;
    /**
     * 物料状态
     */
    @Excel(name = "物料状态")
    private Integer goodsStatus;
    /**
     * 初次入库时间
     */
    @Excel(name = "初次入库时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime firstInTime;
    /**
     * 初次入库用户
     */
    @Excel(name = "初次入库用户")
    private String firstInUser;
    /**
     * 上次更新时间
     */
    @Excel(name = "上次更新时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastUpdateTime;
    /**
     * 上次更新用户
     */
    @Excel(name = "上次更新用户")
    private String lastUpdateUser;
    /**
     * 入库总量
     */
    @Excel(name = "入库总数量")
    private Integer totalNum;
    /**
     * 剩余数量
     */
    @Excel(name = "可用剩余数量")
    private Integer remainNum;
    /**
     * 实际数量
     */
    @Excel(name = "实际剩余数量")
    private Integer realNum;
    /**
     * 物料描述
     */
    @Excel(name = "物料描述")
    private String goodsDesc;
    /**
     * 有效期
     */
    @Excel(name = "有限期止", exportFormat = "yyyy-MM-dd")
    private LocalDate expireDate;
    /**
     * sled 天数
     */
    @Excel(name = "sled")
    private Integer sled;
}
