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

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

import com.prolog.framework.core.annotation.AutoKey;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Table;
import lombok.Data;

/**
 * WMS_CARGO_CHANGE_RESULT
 *
 * @author
 */
@Data
@Table(value = "WMS_CARGO_CHANGE_RESULT", appendDefaultJdbcType = true, camelToUnderline = true)
public class WmsCargoChangeResult implements Serializable {
    /**
     * 转换结果ID
     */
    @Id
    @AutoKey(type = AutoKey.TYPE_SNOWFLAKE)
    private String resultId;

    /**
     * 仓库ID
     */
    private String warehouseId;

    private String srcCargoOwnerId;

    private String destCargoOwnerId;
    /**
     * 主表ID
     */
    private String headerId;

    /**
     * 转换明细ID
     */
    private String detailId;

    /**
     * 源批次ID
     */
    private String srcBatchId;

    /**
     * 源货位
     */
    private String srcLocatorId;

    /**
     * 目的批次ID
     */
    private String destBatchId;

    /**
     * 目的货位ID
     */
    private String destLocatorId;

    /**
     * 库存状态
     */
    private String stockStatus;

    /**
     * 库存子状态
     */
    private String stockSubStatus;

    /**
     * 转换数量
     */
    private BigDecimal quantity;

    /**
     * 是否整托
     */
    private String isWhole;

    /**
     * 企业ID
     */
    private String enterpriseId;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 生产日期
     */
    private String batchProductionDateShow;

    /**
     * 过期日期
     */
    private String batchExpiredDateShow;

    /**
     * 移库标识(0初始/1下架/2上架)
     */
    private String moveFlag;

    /**
     * 采购单ID
     */
    private String poBillId;

    /**
     * 采购单编号
     */
    private String poBillNo;

    /**
     * 销售单ID
     */
    private String orderBillId;

    /**
     * 销售单编号
     */
    private String orderBillNo;

    private static final long serialVersionUID = 7524362000098716260L;
}
