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 OutsRecordExcelTemplateForSave {
    /**
     * 任务号
     */
    @Excel(name = "task_id")
    private String taskId;
    /**
     * 料号
     */
    @Excel(name = "goods_id")
    private String goodsId;
    /**
     * 载具号
     */
    @Excel(name = "vehicle_id")
    private String vehicleId;
    /**
     * 需求数量
     */
    @Excel(name = "need_num")
    private Integer needNum;
    /**
     * 已分发数量
     */
    @Excel(name = "distribute_num")
    private Integer distributeNum;
    /**
     * 已拣选数量
     */
    @Excel(name = "pick_num")
    private Integer pickNum;
    /**
     * 出库类型
     */
    @Excel(name = "out_type")
    private Integer outType;
    /**
     * 目的地
     */
    @Excel(name = "destination")
    private String destination;
    /**
     * 用户名
     */
    @Excel(name = "user_name")
    private String userName;
    /**
     * 出库理由
     * 紧急出库必填
     */
    @Excel(name = "reason")
    private String reason;
    /**
     * 请求时间
     */
    @Excel(name = "request_time", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime requestTime;
}
