com.github.outerman.be.model.BusinessVoucher Maven / Gradle / Ivy
package com.github.outerman.be.model;
import java.util.Date;
import java.util.List;
public class BusinessVoucher {
/** 理票单号 */
private String code;
/** 收支类型 */
private Long paymentsType;
/** 单据日期 */
private Date voucherDate;
/** 凭证id(将来生成的凭证的id,可以获取凭证号,财务人员等信息) */
private Long docId;
/** 凭证号 */
private String docCode;
/** 附件数 */
private int appendNum;
/** 来源单类型 id */
private Long sourceVoucherTypeId;
/** 来源单 id */
private Long sourceVoucherId;
/** 来源单编码 */
private String sourceVoucherCode;
/** 来源单列表 */
private List sourceVouchers;
/** 显示字段-收支类型名称(1:收入2:支出) */
private String paymentsTypeName;
/** 显示字段-票据编码 */
private String invoiceNo;
/** 显示字段-摘要 */
private String memo;
/** 单据信息是否合法 */
private Boolean valid = true;
/** 分录排序是否完全按照分录标识 */
private Boolean orderByFlag = false;
/** 业务明细信息 */
private List details;
/** 结算明细信息 */
private List settles;
/**
* @return the code
*/
public String getCode() {
return code;
}
/**
* @param code the code to set
*/
public void setCode(String code) {
this.code = code;
}
/**
* @return the paymentsType
*/
public Long getPaymentsType() {
return paymentsType;
}
/**
* @param paymentsType the paymentsType to set
*/
public void setPaymentsType(Long paymentsType) {
this.paymentsType = paymentsType;
}
/**
* @return the voucherDate
*/
public Date getVoucherDate() {
return voucherDate;
}
/**
* @param voucherDate the voucherDate to set
*/
public void setVoucherDate(Date voucherDate) {
this.voucherDate = voucherDate;
}
/**
* @return the docId
*/
public Long getDocId() {
return docId;
}
/**
* @param docId the docId to set
*/
public void setDocId(Long docId) {
this.docId = docId;
}
/**
* @return the docCode
*/
public String getDocCode() {
return docCode;
}
/**
* @param docCode the docCode to set
*/
public void setDocCode(String docCode) {
this.docCode = docCode;
}
/**
* @return the appendNum
*/
public int getAppendNum() {
return appendNum;
}
/**
* @param appendNum the appendNum to set
*/
public void setAppendNum(int appendNum) {
this.appendNum = appendNum;
}
/**
* @return the paymentsTypeName
*/
public String getPaymentsTypeName() {
return paymentsTypeName;
}
/**
* @param paymentsTypeName the paymentsTypeName to set
*/
public void setPaymentsTypeName(String paymentsTypeName) {
this.paymentsTypeName = paymentsTypeName;
}
/**
* @return the invoiceNo
*/
public String getInvoiceNo() {
return invoiceNo;
}
/**
* @param invoiceNo the invoiceNo to set
*/
public void setInvoiceNo(String invoiceNo) {
this.invoiceNo = invoiceNo;
}
/**
* @return the memo
*/
public String getMemo() {
return memo;
}
/**
* @param memo the memo to set
*/
public void setMemo(String memo) {
this.memo = memo;
}
/**
* 获取来源单类型 id
* @return 来源单类型 id
*/
public Long getSourceVoucherTypeId() {
return sourceVoucherTypeId;
}
/**
* 设置来源单类型 id
* @param sourceVoucherTypeId 来源单类型 id
*/
public void setSourceVoucherTypeId(Long sourceVoucherTypeId) {
this.sourceVoucherTypeId = sourceVoucherTypeId;
}
/**
* 获取来源单 id
* @return 来源单 id
*/
public Long getSourceVoucherId() {
return sourceVoucherId;
}
/**
* 设置来源单 id
* @param sourceVoucherId 来源单 id
*/
public void setSourceVoucherId(Long sourceVoucherId) {
this.sourceVoucherId = sourceVoucherId;
}
/**
* 获取来源单编码
* @return 来源单编码
*/
public String getSourceVoucherCode() {
return sourceVoucherCode;
}
/**
* 设置来源单编码
* @param sourceVoucherCode 来源单编码
*/
public void setSourceVoucherCode(String sourceVoucherCode) {
this.sourceVoucherCode = sourceVoucherCode;
}
/**
* 获取来源单列表
* @return 来源单列表
*/
public List getSourceVouchers() {
return sourceVouchers;
}
/**
* 设置来源单列表
* @param sourceVouchers 来源单列表
*/
public void setSourcecVouchers(List sourceVouchers) {
this.sourceVouchers = sourceVouchers;
}
/**
* @return 获取单据信息是否合法
*/
public Boolean getValid() {
return valid;
}
/**
* 设置单据信息是否合法
* @param valid 单据信息是否合法
*/
public void setValid(Boolean valid) {
this.valid = valid;
}
/**
* 获取分录排序是否完全按照分录标识
* @return 分录排序是否完全按照分录标识
*/
public Boolean getOrderByFlag() {
return orderByFlag;
}
/**
* 设置分录排序是否完全按照分录标识
* @param orderByFlag 分录排序是否完全按照分录标识
*/
public void setOrderByFlag(Boolean orderByFlag) {
this.orderByFlag = orderByFlag;
}
/**
* 获取业务明细信息
* @return 业务明细信息
*/
public List getDetails() {
return details;
}
/**
* 设置业务明细信息
* @param details 业务明细信息
*/
public void setDetails(List details) {
this.details = details;
}
/**
* 获取结算明细信息
* @return 结算明细信息
*/
public List getSettles() {
return settles;
}
/**
* 设置结算明细信息
* @param settles 结算明细信息
*/
public void setSettles(List settles) {
this.settles = settles;
}
}