ICSReceiptHeader.java 4.8 KB
package com.huaheng.pc.u8.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

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

/**
 *  出库下发或回传主单
 *   @author huaheng
 *   @date 2018-12-14
 */
@Data
@TableName(value = "icsreceipt_header")
public class ICSReceiptHeader implements Serializable {

    @TableId(value = "rid",type = IdType.AUTO)
    private Integer rid;

    private static final long serialVersionUID = -2190076963166343013L;


    // 出库下发或回传的主单code
    @TableField(value ="cCode")
    private String cCode;

    //单主表标识
    @TableField(value ="ID")
    @JsonProperty(value = "ID")
    private Integer ID;

    //采购订单号
    @TableField(value ="cPOID")
    private String cPOID;

    //采购订单ID
    @TableField(value = "POID")
    @JsonProperty(value = "POID")
    private Integer POID;

    //入库日期
    @TableField(value ="dPODate")
    private String dPODate;

    //供应商代码
    @TableField(value ="cVenCode")
    private String cVenCode;

    //供应商名称
    @TableField(value ="cVenName")
    private String cVenName;

    //业务类型
    @TableField(value ="cBusType")
    private String cBusType;

    @TableField(value ="type")
    private String type;

    //部门代码
    @TableField(value ="cDepCode")
    private String cDepCode;

    //部门名称
    @TableField(value ="cDepName")
    private String cDepName;

    //业务员代码
    @TableField(value ="cPersonCode")
    private String cPersonCode;

    //业务员名称
    @TableField(value ="cPersonName")
    private String cPersonName;

    //备注
    @TableField(value ="cMemo")
    private String cMemo;

    //制单人
    @TableField(value ="cMaker")
    private String cMaker;

    //审核人
    @TableField(value ="cVerifier")
    private String cVerifier;

    //公司代码(账套代码)
    @TableField(value ="CompanyCode")
    @JsonProperty(value = "CompanyCode")
    private String CompanyCode;

    //维护日期
    @TableField(value ="cModifyDate")
    private String cModifyDate;

    //出库日期
    @TableField(value ="dDate")
    private String dDate;

    //出库类别
    @TableField(value ="cRDName")
    private String cRDName;

    //库房代码
    @TableField(value ="cWHCode")
    private String cWHCode;

    //库房名称
    @TableField(value ="cWHName")
    private String cWHName;
    //调入仓库编码
    @TableField(value ="iWHCode")
    private String iWHCode;

    @TableField(value ="iWHName")
    private String iWHName;
    //采购类型编码
    @TableField(value ="cPTCode")
    private String cPTCode;
    //采购类型名称
    @TableField(value ="cPTName")
    private String cPTName;

    //发货退货单主表标识
    @TableField(value ="DLID")
    @JsonProperty(value = "DLID")
    private Integer DLID;

    //发货退货单号
    @TableField(value ="cDLCode")
    private String cDLCode;

    //客户代码
    @TableField(value ="cCusCode")
    private String cCusCode;

    //客户名称
    @TableField(value ="cCusName")
    private String cCusName;

    //销售类型(默认:国外销售)
    @TableField(value ="cSTName")
    private String cSTName;

    //调拨单号
    @TableField(value = "cTVCode")
    private String cTVCode;

    @TableField(value = "VoucherType")
    @JsonProperty(value = "VoucherType")
    private String VoucherType;

    @TableField(value = "sourcePlatform")
    private String sourcePlatform;



    //收货人信息
//    private String recManName;
//    private String recManMobile;
//    private String recManAddr;
//    private String recManCompany;

    //发货人信息
//    private String sendManName;
//    private String sendManMobile;
//    private String sendManAddr;
//    private String sendManCompany;

    @TableField(exist = false)
    private String snCode;

    @TableField(exist = false)
    private String trackCode;

    @TableField(exist = false)
    private String isNew;

    // 出库下发或回传的主单code
    @TableField(exist = false)
    private Integer referId;

    // 出库下发或回传的主单code
    @TableField(value ="referCode")
    private String referCode;

    /**
     * WMS 仓库编码
     */
    @TableField(value ="warehouseCode")
    private String warehouseCode;

    //必须回传
    /**
     * WMS 仓库编码
     */
    @TableField(exist = false)
    private String stock;

    /**
     * 入库时间 | 出库时间
     */
    @TableField(exist = false)
    private Date created;


}