package common.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

@Entity
public class DmpIncome {


	private Long id;// ID
	private String contractCode;//合同编号
	private String incomeMonth;//收入月份
	private String period;//结算周期
	private String sysSettlement;//系统结算
	private String monthSettlement;//按月结算
	private String confirmSettlement;//确认结算
	private String taxRate;//税率
	private Date createTime;
	private Date modifyTime;
	private String uploadUser;
	private int index;
	private String myBodyCode;

	//contract_code, my_body_name, customer_body, customer_short, business_type, agreement_type

	private String myBodyName,
			customerBody,
			customerShort,
			businessType,
			agreementType;


	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

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

	public String getContractCode() {
		return contractCode;
	}

	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}

	public String getIncomeMonth() {
		return incomeMonth;
	}

	public void setIncomeMonth(String incomeMonth) {
		this.incomeMonth = incomeMonth;
	}

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getSysSettlement() {
		return sysSettlement;
	}

	public void setSysSettlement(String sysSettlement) {
		this.sysSettlement = sysSettlement;
	}

	public String getMonthSettlement() {
		return monthSettlement;
	}

	public void setMonthSettlement(String monthSettlement) {
		this.monthSettlement = monthSettlement;
	}

	public String getConfirmSettlement() {
		return confirmSettlement;
	}

	public void setConfirmSettlement(String confirmSettlement) {
		this.confirmSettlement = confirmSettlement;
	}

	public String getTaxRate() {
		return taxRate;
	}

	public void setTaxRate(String taxRate) {
		this.taxRate = taxRate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getUploadUser() {
		return uploadUser;
	}

	public void setUploadUser(String uploadUser) {
		this.uploadUser = uploadUser;
	}

	@Transient
	public String getMyBodyName() {
		return myBodyName;
	}

	public void setMyBodyName(String myBodyName) {
		this.myBodyName = myBodyName;
	}

	@Transient
	public String getCustomerBody() {
		return customerBody;
	}

	public void setCustomerBody(String customerBody) {
		this.customerBody = customerBody;
	}

	@Transient
	public String getCustomerShort() {
		return customerShort;
	}

	public void setCustomerShort(String customerShort) {
		this.customerShort = customerShort;
	}

	@Transient
	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	@Transient
	public String getAgreementType() {
		return agreementType;
	}

	public void setAgreementType(String agreementType) {
		this.agreementType = agreementType;
	}

	@Transient
	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getMyBodyCode() {
		return myBodyCode;
	}

	public void setMyBodyCode(String myBodyCode) {
		this.myBodyCode = myBodyCode;
	}
}
