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 StockUpdateRecordExcelTemplateForSave {
    /**
     * 库存更新记录id
     */
    @Excel(name = "update_id")
    private String updateId;
    /**
     * 载具号
     */
    @Excel(name = "vehicle_id")
    private String vehicleId;
    /**
     * 料号
     */
    @Excel(name = "goods_id")
    private String goodsId;
    /**
     * 首次入库时间
     */
    @Excel(name = "first_in_time", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime firstInTime;
    /**
     * 原数量
     */
    @Excel(name = "before_num")
    private Integer beforeNum;
    /**
     * 新数量
     */
    @Excel(name = "after_num")
    private Integer afterNum;
    /**
     * 更新理由
     */
    @Excel(name = "reason")
    private String reason;
    /**
     * 更新时间
     */
    @Excel(name = "update_time", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 更新用户
     */
    @Excel(name = "update_user")
    private String updateUser;
}
