package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 上传明细对象 interface_in_upload_d
 *
 * @author lch
 * @date 2022-05-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("interface_in_upload_d")
public class InterfaceInUploadD implements Serializable {

private static final long serialVersionUID=1L;


    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "id", width = 20)
    private Long id;


    /**
     * 订单编号
     */
    @Excel(name = "订单编号", width = 20)
    private String orderNo;


    /**
     * 行id
     */
    @Excel(name = "行id", width = 20)
    private String lineId;


    /**
     * 业主id
     */
    @Excel(name = "业主id", width = 20)
    private String consignorCode;


    /**
     * 商品id
     */
    @Excel(name = "商品id", width = 20)
    private String goodCode;


    /**
     * 数量
     */
    @Excel(name = "数量", width = 20)
    private BigDecimal qty;


    /**
     * 整件数量
     */
    @Excel(name = "整件数量", width = 20)
    private BigDecimal caseQty;


    /**
     * 零货数量
     */
    @Excel(name = "零货数量", width = 20)
    private BigDecimal pieceQty;


    /**
     * 包装id
     */
    @Excel(name = "包装id", width = 20)
    private String packageCode;


    /**
     * 收货数量
     */
    @Excel(name = "收货数量", width = 20)
    private BigDecimal actualQty;


    /**
     * 整件数量
     */
    @Excel(name = "整件数量", width = 20)
    private BigDecimal actualCaseQty;


    /**
     * 零货数量
     */
    @Excel(name = "零货数量", width = 20)
    private BigDecimal actualPieceQty;


    /**
     * 批号ID
     */
    @Excel(name = "批号ID", width = 20)
    private String batchCode;


    /**
     * 批号
     */
    @Excel(name = "批号", width = 20)
    private String batchNo;


    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date productionDate;


    /**
     * 有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date expiredDate;


    /**
     * 托盘编号
     */
    @Excel(name = "托盘编号", width = 20)
    private String containerCode;


    /**
     * 收货结论
     */
    @Excel(name = "收货结论", width = 20)
    private String stockStatus;


    /**
     * 验收结论
     */
    @Excel(name = "验收结论", width = 20)
    private String billingStatus;


    /**
     * 处理原因
     */
    @Excel(name = "处理原因", width = 20)
    private String reason;


    /**
     * 库区
     */
    @Excel(name = "库区", width = 20)
    private String storageType;


    /**
     * 收货员
     */
    @Excel(name = "收货员", width = 20)
    private String receivingUser;


    /**
     * 验收员
     */
    @Excel(name = "验收员", width = 20)
    private String billingUser;


    /**
     * 上架员
     */
    @Excel(name = "上架员", width = 20)
    private String shelfUser;


    /**
     * 订单状态
     */
    @Excel(name = "订单状态", width = 20)
    private String lineStatus;


    /**
     * 上传次数
     */
    @Excel(name = "上传次数", width = 20)
    private Long times;


    /**
     * 来源单号
     */
    @Excel(name = "来源单号", width = 20)
    private String sourceOrderNo;


    /**
     * 来源行id
     */
    @Excel(name = "来源行id", width = 20)
    private String sourceLineId;


    /**
     * 来源上级单号
     */
    @Excel(name = "来源上级单号", width = 20)
    private String upperOrderNo;


    /**
     * 来源上级行id
     */
    @Excel(name = "来源上级行id", width = 20)
    private String upperLineId;


    /**
     * 仓编码
     */
    @Excel(name = "仓编码", width = 20)
    private String branchCode;


    /**
     * 备注
     */
    @Excel(name = "备注", width = 20)
    private String remark;


    /**
     * 扩展字段1
     */
    @Excel(name = "扩展字段1", width = 20)
    private String extend1;


    /**
     * 扩展字段2
     */
    @Excel(name = "扩展字段2", width = 20)
    private String extend2;


    /**
     * 扩展字段3
     */
    @Excel(name = "扩展字段3", width = 20)
    private String extend3;


    /**
     * 扩展字段4
     */
    @Excel(name = "扩展字段4", width = 20)
    private String extend4;


    /**
     * 扩展字段5
     */
    @Excel(name = "扩展字段5", width = 20)
    private String extend5;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date createTime;


    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建人", width = 20)
    private String createBy;


    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date updateTime;


    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Excel(name = "修改人", width = 20)
    private String updateBy;


}
