package com.sw.mes.store.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author
 * @Description：
 * @Date: Create in
 * @Modified By:
 */
@Data
@ApiModel(value = "调拨审核记录单明细Dto")
public class WarehouseAllotRecordBillDetailDto {
    @ExcelIgnore
    private Long id;
    @ApiModelProperty(value = "调拨单ID")
    @ExcelIgnore
    private Long recordBillId;
    @ApiModelProperty(value = "调拨单号")
    @ExcelProperty(value = "调拨单号")
    private String recordBillNo;
    @ApiModelProperty(value = "物料主数据ID")
    @ExcelIgnore
    private Integer materialModelId;
    @ApiModelProperty(value = "物料主数据料号")
    @ExcelProperty(value = "物料主数据料号")
    private String materialModelCode;
    @ApiModelProperty(value = "物料主数据名称")
    @ExcelProperty(value = "物料主数据名称")
    private String materialModelName;
    @ApiModelProperty(value = "物料主数据类型")
    @ExcelProperty(value = "物料主数据类型")
    private String materialTypeName;
    @ApiModelProperty(value = "物料类别名称")
    @ExcelProperty(value = "物料类别名称")
    private String materialCategoryName;
    @ApiModelProperty(value = "物料等级")
    @ExcelProperty(value = "物料等级")
    private String materialLevel;
    @ApiModelProperty(value = "物料粒径")
    @ExcelProperty(value = "物料粒径")
    private String suppliesGrain;
    @ApiModelProperty("物料档位")
    @ExcelProperty(value = "物料档位")
    private String materialGear;
    @ApiModelProperty(value = "唯一码")
    @ExcelProperty(value = "唯一码")
    private String uniqueCode;
    @ApiModelProperty(value = "批次号")
    @ExcelProperty(value = "批次号")
    private String batchNo;
    @ApiModelProperty(value = "物料主数据供应商")
    @ExcelProperty(value = "物料主数据供应商")
    private String supplier;
    @ApiModelProperty(value = "物料主数据规格")
    @ExcelProperty(value = "物料主数据规格")
    private String specification;
    @ApiModelProperty(value = "物料主数据图号")
    @ExcelProperty(value = "物料主数据图号")
    private String materialTh;
    @ApiModelProperty(value = "调拨数量")
    @ExcelProperty(value = "调拨数量")
    private BigDecimal count;
    @ApiModelProperty(value = "物料单位")
    @ExcelProperty(value = "物料单位")
    private String unitName;
    @ApiModelProperty(value = "原库位ID")
    @ExcelIgnore
    private Integer warehouseId;
    @ApiModelProperty(value = "原库位名称")
    @ExcelProperty(value = "原库位名称")
    private String warehouseName;
    @ApiModelProperty(value = "原库位编码")
    @ExcelProperty(value = "原库位编码")
    private String warehouseCode;
    @ApiModelProperty(value = "调拨库位ID")
    @ExcelIgnore
    private Integer allotWarehouseId;
    @ApiModelProperty(value = "调拨库位名称")
    @ExcelProperty(value = "调拨库位名称")
    private String allotWarehouseName;
    @ApiModelProperty(value = "创建人ID")
    @ExcelIgnore
    private Integer createUserId;
    @ApiModelProperty(value = "创建人名称")
    @ExcelProperty(value = "创建人名称")
    private String createUserName;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "操作人ID")
    @ExcelIgnore
    private Integer updateUserId;
    @ApiModelProperty(value = "操作人名称")
    @ExcelProperty(value = "操作人名称")
    private String updateUserName;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "操作时间")
    private Date updateTime;
    @ApiModelProperty(value = "原库存数据ID")
    @ExcelIgnore
    private Long inventoryId;
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "审核状态")
    @ExcelProperty(value = "审核状态")
    private String status;
    @ApiModelProperty(value = "调拨审核记录单号")
    @ExcelProperty(value = "调拨审核记录单号")
    private String allotBillNo;
    @ApiModelProperty(value = "调拨审核记录单id")
    @ExcelIgnore
    private Long allotBillId;
    @ApiModelProperty("晶编编码")
    @ExcelProperty(value = "晶编编码")
    private String crystalNo;
}