ICSShipmentHeader.java 5.51 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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

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

    private static final long serialVersionUID = -2190076963166343013L;
    /**
     * 调拨单号
     */
    @ApiModelProperty(value = "调拨单号")
    @TableField(value = "cTVCode")
    private String cTVCode;
    /**
     * 转出仓库编码
     */
    @ApiModelProperty(value = "转出仓库编码")
    @TableField(value = "oWHCode")
    private String oWHCode;
    /**
     * 转出仓库名称
     */
    @ApiModelProperty(value = "转出仓库名称")
    @TableField(value = "oWHName")
    private String oWHName;
    /**
     * 转入仓库编码
     */
    @ApiModelProperty(value = "转入仓库编码")
    @TableField(value = "iWHCode")
    private String iWHCode;
    /**
     * 转入仓库名称
     */
    @ApiModelProperty(value = "转入仓库名称")
    @TableField(value = "iWHName")
    private String iWHName;
    //内码
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sId;

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

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

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

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

    //生成订单 不生成
    @TableField(exist = false)
    private Boolean isFlag = true;

    @TableField(exist = false)
    private Integer referId;
    @TableField(exist = false)
    private Integer referNum;
    @TableField(exist = false)
    private String uWarehouseCode;
    @TableField(exist = false)
    private Date created;
    @TableField(exist = false)
    private String stock;

    //入库日期
    @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;

    //生产订单主表ID
    @TableField(value = "MoId")
    @JsonProperty(value = "MoId")
    private Integer MoId;

    //生产订单号
    @TableField(value = "MoCode")
    @JsonProperty(value = "MoCode")
    private String MoCode;

    //发货退货单主表标识
    @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(exist = false)
    @JsonProperty(value = "VoucherType")
    private String VoucherType;

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

    //收货人信息
    @TableField(value = "recName")
    private String recName;
    @TableField(value = "recMobile")
    private String recMobile;
    @TableField(value = "recAddr")
    private String recAddr;
    @TableField(value = "recCompany")
    private String recCompany;

    //发货人信息
    @TableField(value = "sendName")
    private String sendName;
    @TableField(value = "sendMobile")
    private String sendMobile;
    @TableField(value = "sendAddr")
    private String sendAddr;
    @TableField(value = "sendCompany")
    private String sendCompany;
    @TableField(value = "cSCName")
    private String cSCName;

    @TableField(exist = false)
    private String snCode;

    @TableField(exist = false)
    private String trackCode;

    @TableField(exist = false)
    private String isNew;
}