SingleReceipt.java 3.91 KB
package com.huaheng.api.erp.domain;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.Date;
import java.util.List;

public class SingleReceipt<T> {
    /**
     * 实体主键
     */
    @SerializedName("FID")
    private Integer id;
    /**
     * 单据编号
     */
    @SerializedName("FBillNo")
    @Expose
    private String billNo;
    /**
     * 单据类型
     */
    @SerializedName("FBillType")
    @Expose
    private ConvertObj billType;
    /**
     * 生产组织
     */
    @SerializedName("FPrdOrgId")
    @Expose
    private ConvertObj prodOrgId;
    /**
     * //货主类型
     */
    @SerializedName("FOwnerTypeId0")
    @Expose
    private String ownerTypeIdHead="BD_OwnerOrg";
    /**
     * 货主
     */
    @SerializedName("FOwnerId0")
    @Expose
    private ConvertObj ownerId0;
    /**
     * 入库组织
     */
    @SerializedName("FStockOrgId")
    @Expose
    private ConvertObj stockOrgId;
    /**
     * 日期
     */
    @SerializedName("FDate")
    @Expose
    private Date date;

    /**
     * 仓管员
     */
    @SerializedName("FSTOCKERID")
    @Expose
    private ConvertObj stockerId;

    /**
     * 备注
     */
    @SerializedName("FDescription")
    @Expose
    private String description;
    /**
     * 本位币
     */
    @SerializedName("FCurrId")
    @Expose
    private ConvertObj baseCurrId;

    /**
     * 明细信息
     */
    @SerializedName("FEntity")
    @Expose
    private List<T> entity;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public ConvertObj getBillType() {
        return billType;
    }

    public void setBillType(ConvertObj billType) {
        this.billType = billType;
    }

    public ConvertObj getStockOrgId() {
        return stockOrgId;
    }

    public void setStockOrgId(ConvertObj stockOrgId) {
        this.stockOrgId = stockOrgId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }


    public ConvertObj getStockerId() {
        return stockerId;
    }

    public void setStockerId(ConvertObj stockerId) {
        this.stockerId = stockerId;
    }

    public String getOwnerTypeIdHead() {
        return ownerTypeIdHead;
    }

    public void setOwnerTypeIdHead(String ownerTypeIdHead) {
        this.ownerTypeIdHead = ownerTypeIdHead;
    }

    public ConvertObj getOwnerId0() {
        return ownerId0;
    }

    public void setOwnerId0(ConvertObj ownerId0) {
        this.ownerId0 = ownerId0;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public ConvertObj getBaseCurrId() {
        return baseCurrId;
    }

    public void setBaseCurrId(ConvertObj baseCurrId) {
        this.baseCurrId = baseCurrId;
    }

    public List<T> getEntity() {
        return entity;
    }

    public void setEntity(List<T> entity) {
        this.entity = entity;
    }

    @Override
    public String toString() {
        return "SingleReceipt{" +
                "id=" + id +
                ", billNo='" + billNo + '\'' +
                ", billType=" + billType +
                ", stockOrgId=" + stockOrgId +
                ", date=" + date +
                ", stockerId=" + stockerId +
                ", ownerTypeIdHead='" + ownerTypeIdHead + '\'' +
                ", ownerIdHead=" + ownerId0 +
                ", baseCurrId='" + baseCurrId + '\'' +
                ", entity=" + entity +
                '}';
    }

    public ConvertObj getProdOrgId() {
        return prodOrgId;
    }

    public void setProdOrgId(ConvertObj prodOrgId) {
        this.prodOrgId = prodOrgId;
    }
}