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_out_d
 *
 * @author lch
 * @date 2022-06-10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("interface_out_d")
public class InterfaceOutD 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 Long lineId;


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


    /**
     * 库别ID
     */
    @Excel(name = "库别ID", width = 20)
    private Long storageId;


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


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


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


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


    /**
     * 数量类型
     */
    @Excel(name = "数量类型", width = 20)
    private String qtyType;


    /**
     * 拣货人员
     */
    @Excel(name = "拣货人员", width = 20)
    private String pickUser;


    /**
     * 复核员
     */
    @Excel(name = "复核员", width = 20)
    private String checkUser;


    /**
     * 外复核员
     */
    @Excel(name = "外复核员", width = 20)
    private String checkOutUser;


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


    /**
     * 优先级
     */
    @Excel(name = "优先级", width = 20)
    private String priority;


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


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


    /**
     * 仓ID
     */
    @Excel(name = "仓ID", width = 20)
    private Long branchId;


    /**
     * 备注
     */
    @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;


}
