package com.prolog.upcloud.base.wh.operate.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @Description 盘点明细
 * @Date 2021-04-07
 */
@Data
@ApiModel
public class WmsInvCheckDVO implements Serializable {
    private static final long serialVersionUID = 6721265808612037118L;

    @ApiModelProperty(value = "行号")
    private Long lineNum;

    @ApiModelProperty(value = "货位ID")
    private String whLocatorId;

    @ApiModelProperty(value = "容器")
    private String containerCode;
    //
    //	@ApiModelProperty(value = "货格")
    //	private String goodsCaseCode;

    @ApiModelProperty(value = "商品ID")
    private String itemId;

    @ApiModelProperty(value = "包装单位")
    private String uom;

    @ApiModelProperty(value = "包装数量")
    private BigDecimal conversionRate;

    @ApiModelProperty(value = "batch_id")
    private String batchId;

    @ApiModelProperty(value = "BATCH_NUM")
    private String batchNum;

    @ApiModelProperty(value = "库存总数")
    private BigDecimal pieceQuantityAccount;

    @ApiModelProperty(value = "库存整件")
    private BigDecimal caseQuantityAccount;

    @ApiModelProperty(value = "库存零散")
    private BigDecimal oddQuantityAccount;
    //
    //	@ApiModelProperty(value = "实盘总数")
    //	private BigDecimal pieceQuantityFact;
    //
    //	@ApiModelProperty(value = "实盘整件")
    //	private BigDecimal caseQuantityFact;
    //
    //	@ApiModelProperty(value = "实盘零散")
    //	private BigDecimal oddQuantityFact;
    //
    //	@ApiModelProperty(value = "差异(实盘总数-库存总数)")
    //	private BigDecimal quantityDiff;

    @ApiModelProperty(value = "生产日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date productionDate;

    @ApiModelProperty(value = "有效期至")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date batchExpiredDate;

    @ApiModelProperty(value = "仓库ID")
    private String warehouseId;

    @ApiModelProperty(value = "dcID")
    private String dcId;

    @ApiModelProperty(value = "货主ID")
    private String cargoOwnerId;

    @ApiModelProperty(value = "批号")
    private String manufacturerLotNum;

    @ApiModelProperty(value = "库存状态（1合格/2不合格/3待检/4退货）")
    private String stockStatus;


}
