package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SAP装箱单明细表
 * </p>
 *
 * @author Wayne
 * @since 2021-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SAP_PACKAGE_LIST_DTL")
@ApiModel(value="SapPackageListDtl对象", description="SAP装箱单明细表")
public class SapPackageListDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "装箱单号")
    @TableField("PACKAGE_LIST")
    private String packageList;

    @ApiModelProperty(value = "装箱单行号")
    @TableField("ITEM")
    private String item;

    @ApiModelProperty(value = "可装柜日期")
    @TableField("DATE_OF_LOADING")
    private String dateOfLoading;

    @ApiModelProperty(value = "装柜工厂代码")
    @TableField("LOADING_WERKS")
    private String loadingWerks;

    @ApiModelProperty(value = "装柜仓库代码")
    @TableField("LOADING_WHS_LOCATION_CODE")
    private String loadingWhsLocationCode;

    @ApiModelProperty(value = "柜序号")
    @TableField("CABINET_SERIAL_NUMBER")
    private String cabinetSerialNumber;

    @ApiModelProperty(value = "货物类型/产品层次")
    @TableField("GOODS_TYPE")
    private String goodsType;

    @ApiModelProperty(value = "收货工厂")
    @TableField("RECEIVING_WERKS")
    private String receivingWerks;

    @ApiModelProperty(value = "实际收货工厂")
    @TableField("ACTUAL_RECEIVING_WERKS")
    private String actualReceivingWerks;

    @ApiModelProperty(value = "柜号")
    @TableField("CABINET_NUMBER")
    private String cabinetNumber;

    @ApiModelProperty(value = "铅封号")
    @TableField("LEAD_SEAL")
    private String leadSeal;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "出货品类")
    @TableField("SHIPMENT_CATEGORY")
    private String shipmentCategory;

    @ApiModelProperty(value = "计划装箱数量(基本单位)")
    @TableField("PLANNED_PACKING_QTY")
    private Double plannedPackingQty;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "计划装箱件数")
    @TableField("PLANNED_PACKING_NUMBER")
    private Double plannedPackingNumber;

    @ApiModelProperty(value = "包装单位")
    @TableField("PACKING_UNIT")
    private String packingUnit;

    @ApiModelProperty(value = "柜重量")
    @TableField("CABINET_WEIGHT")
    private Double cabinetWeight;
    
    @ApiModelProperty(value = "净重")
    @TableField("NET_WEIGHT")
    private Double netWeight;

    @ApiModelProperty(value = "重量单位")
    @TableField("WEIGHT_UNIT")
    private String weightUnit;

    @ApiModelProperty(value = "柜体积")
    @TableField("CABINET_VOLUME")
    private Double cabinetVolume;

    @ApiModelProperty(value = "体积单位")
    @TableField("VOLUME_UNIT")
    private String volumeUnit;

    @ApiModelProperty(value = "出发国拖车线路")
    @TableField("TRAILER_LINE")
    private String trailerLine;

    @ApiModelProperty(value = "出发国拖车线路名称")
    @TableField("TRAILER_LINE_DESC")
    private String trailerLineDesc;

    @ApiModelProperty(value = "装箱单行项目在SPMS状态，默认0")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "出库任务UUID-贸易货")
    @TableField("WHS_OUT_UUID")
    private String whsOutUuid;

    @ApiModelProperty(value = "储位信息。用于存储贸易货储位uuid 数量等信息")
    @TableField("TEMP_STORAGE")
    private String tempStorage;

    @ApiModelProperty(value = "是否为计划外的明细。默认空，额外出库的贸易货需传值1")
    @TableField("UNPLANNED")
    private String unplanned;

    @ApiModelProperty(value = "贸易货实际装箱数量(基本单位)")
    @TableField("ACTUAL_OPERATE_QTY")
    private Double actualOperateQty;

    @ApiModelProperty(value = "外箱品牌")
    @TableField("CONTAINER_BRAND")
    private String containerBrand;

    @ApiModelProperty(value = "色号（砖类）")
    @TableField("COLOR_NUMBER")
    private String colorNumber;

    @ApiModelProperty(value = "砖厚")
    @TableField("THICKNESS")
    private String thickness;

    @ApiModelProperty(value = "产品实际平均毛重")
    @TableField("ACTUAL_AVG_GROSS_WEIGHT")
    private String actualAvgGrossWeight;

    @ApiModelProperty(value = "实际装箱件数（销售单位）")
    @TableField("ACTUAL_PACKING_NUMBER")
    private Double actualPackingNumber;

    @ApiModelProperty(value = "报关件数")
    @TableField("CUSTOMS_DECLARATION_NUMBER")
    private Double customsDeclarationNumber;

    @ApiModelProperty(value = "包装规格")
    @TableField("PACKING_SPEC")
    private String packingSpec;

    @ApiModelProperty(value = "装柜方式")
    @TableField("LOADING_TYPE")
    private String loadingType;

    @ApiModelProperty(value = "箱码")
    @TableField("PACKAGE_CODE")
    private String packageCode;
    
    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "柜型")
    @TableField("CABINET_MODEL")
    private String cabinetModel;
    
    @ApiModelProperty(value = "发货人")
    @TableField("SHIPPER")
    private String shipper;
    
    @ApiModelProperty(value = "收货人")
    @TableField("CONSIGNEE")
    private String consignee;
    
    @ApiModelProperty(value = "分公司")
    @TableField("BUKRS")
    private String bukrs;
    
    @ApiModelProperty(value = "装柜位置")
    @TableField("CONTAINER_LOADING_POSITION")
    private String containerLoadingPosition;
    
    @ApiModelProperty(value = "装柜仓库简称")
    @TableField("LOADING_WHS_LOCATION_NAME")
    private String loadingWhsLocationName;
    
    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;
    
    @ApiModelProperty(value = "SPMS行项目号")
    @TableField("SPMS_ITEM_NO")
    private String spmsItemNo;
    
    @ApiModelProperty(value = "批次")
    @TableField("BATCH_NO")
    private String batchNo;
    
    @ApiModelProperty(value = "最大包装件数")
    @TableField("PACKAGE_QUANTITY_MAX")
    private String packageQuantityMax;
    
    @ApiModelProperty(value = "最大包装单位")
    @TableField("PACKAGE_UNIT_MAX")
    private String packageUnitMax;
    
    @ApiModelProperty(value = "装柜实际行项目号")
    @TableField("SAP_REALITY_ITEM_NO")
    private String sapRealityItemNo;
    
    @ApiModelProperty(value = "实际装柜结果录入表流水号")
    @TableField("SAP_REALITY_SERIAL_NUMBER")
    private String sapRealitySerialNumber;
    
}
