package com.shinsoft.sto.model.record;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ImportModel {

    @ExcelProperty(value = "仓库名称", index = 0)
    @ColumnWidth(15)
    private String wareName;

    @ExcelProperty(value = "垛位号", index = 1)
    @ColumnWidth(15)
    private String stackName;

    @ExcelProperty(value = "层号", index = 2)
    @ColumnWidth(15)
    private String layerNo;

    @ExcelProperty(value = "物料名称", index = 3)
    @ColumnWidth(15)
    private String materialName;

    @ExcelProperty(value = "钢种", index = 4)
    private String stGrade;

    @ExcelProperty(value = "规格", index = 5)
    private String attrib03;

    @ExcelProperty(value = "数量", index = 6)
    private BigDecimal quantity;

    @ExcelProperty(value = "重量(默认吨)", index = 7)
    @ColumnWidth(20)
    private BigDecimal weight;

    @ExcelProperty(value = "入库车号", index = 8)
    @ColumnWidth(15)
    private String inTruckNo;

    @ExcelProperty(value = "货权公司", index = 9)
    @ColumnWidth(15)
    private String ownerCompany;

    @ExcelProperty(value = "收货公司", index = 10)
    @ColumnWidth(15)
    private String receivingCompany;

    @ExcelProperty(value = "材料号", index = 11)
    @ColumnWidth(15)
    private String prodNo;

    @ExcelProperty(value = "订单号", index = 12)
    @ColumnWidth(15)
    private String attrib01;

    @ExcelProperty(value = "合约号", index = 13)
    @ColumnWidth(15)
    private String attrib02;

    @ExcelProperty(value = "捆绑包号", index = 14)
    @ColumnWidth(15)
    private String attrib04;

    @ExcelProperty(value = "收货地址", index = 15)
    @ColumnWidth(15)
    private String deliveryAddress;

    @ExcelProperty(value = "产地", index = 16)
    @ColumnWidth(15)
    private String attrib05;

    @ExcelProperty(value = "备注", index = 17)
    @ColumnWidth(15)
    private String remark1;

//    @ExcelProperty(value = "垛位备注", index = 18)
//    @ColumnWidth(15)
//    private String remark2;

    @ExcelProperty(value = "入库/理货人员", index = 18)
    @ColumnWidth(20)
    private String inUser;
//
}
