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;

/**
 * 上传汇总对象 interface_in_upload_s
 *
 * @author lch
 * @date 2022-05-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("interface_in_upload_s")
public class InterfaceInUploadS implements Serializable {

private static final long serialVersionUID=1L;


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


    /**
     * 订单编号（wms生成）
     */
    @Excel(name = "订单编号", width = 15 )
    private String orderNo;


    /**
     * 订单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderDate;


    /**
     * 供应商ID
     */
    @Excel(name = "供应商ID", width = 20)
    private String companyCode;


    /**
     * 部门ID
     */
    @Excel(name = "部门ID", width = 20)
    private String deptCode;


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


    /**
     * 采购员
     */
    @Excel(name = "采购员", width = 20)
    private String userBuyer;


    /**
     * 到货方式
     */
    @Excel(name = "到货方式", width = 20)
    private String arrivalMode;


    /**
     * 到货日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date arrivalDate;


    /**
     * 订单类型
     */
    @Excel(name = "订单类型", width = 20)
    private String orderType;


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


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


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


    /**
     * 上传状态
     */
    @Excel(name = "上传状态", width = 20)
    private String status;


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


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


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


    /**
     * 扩展字段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+8")
    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+8")
    private Date updateTime;


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


}
