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.LocalDateTime;

/**
 * 库存模版
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockUpdateExcelTemplate {
    /**
     * 库存更新记录id
     */
    @Excel(name = "记录id")
    private String updateId;
    /**
     * 载具号
     */
    @Excel(name = "载具号")
    private String vehicleId;
    /**
     * 料号
     */
    @Excel(name = "料号")
    private String goodsId;
    /**
     * 初次入库时间
     */
    @Excel(name = "初次入库时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime firstInTime;
    /**
     * 原数量
     */
    @Excel(name = "原数量")
    private Integer beforeNum;
    /**
     * 新数量
     */
    @Excel(name = "新数量")
    private Integer afterNum;
    /**
     * 更新原因
     */
    @Excel(name = "更新原因")
    private String reason;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 更新用户
     */
    @Excel(name = "更新用户")
    private String updateUser;
}
