package com.goafanti.common.model;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;

import com.goafanti.common.constant.ErrorConstants;

public class PaymentNode {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.id
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.tid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer tid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.cid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer cid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.company_name
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private String companyName;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.project_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer projectType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.dun_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer dunType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.unit_price
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private BigDecimal unitPrice;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.quantity
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer quantity;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.total_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	@DecimalMax(value = "999999" , message = "{" + ErrorConstants.DECIMAL_PARAM_MAX_ERROR + "}")
	@DecimalMin(value = "0", message = "{" + ErrorConstants.DECIMAL_PARAM_MIN_ERROR + "}")
	private BigDecimal totalAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.party_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	@DecimalMax(value = "999999" , message = "{" + ErrorConstants.DECIMAL_PARAM_MAX_ERROR + "}")
	@DecimalMin(value = "0", message = "{" + ErrorConstants.DECIMAL_PARAM_MIN_ERROR + "}")
	private BigDecimal partyAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.party_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Date partyTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.create_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Date createTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.dun_status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer dunStatus;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.effective_count
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer effectiveCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.start_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Date startTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column payment_node.status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	private Integer status;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.id
	 * @return  the value of payment_node.id
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.id
	 * @param id  the value for payment_node.id
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.tid
	 * @return  the value of payment_node.tid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getTid() {
		return tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.tid
	 * @param tid  the value for payment_node.tid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setTid(Integer tid) {
		this.tid = tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.cid
	 * @return  the value of payment_node.cid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getCid() {
		return cid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.cid
	 * @param cid  the value for payment_node.cid
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setCid(Integer cid) {
		this.cid = cid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.company_name
	 * @return  the value of payment_node.company_name
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.company_name
	 * @param companyName  the value for payment_node.company_name
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.project_type
	 * @return  the value of payment_node.project_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getProjectType() {
		return projectType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.project_type
	 * @param projectType  the value for payment_node.project_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setProjectType(Integer projectType) {
		this.projectType = projectType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.dun_type
	 * @return  the value of payment_node.dun_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getDunType() {
		return dunType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.dun_type
	 * @param dunType  the value for payment_node.dun_type
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setDunType(Integer dunType) {
		this.dunType = dunType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.unit_price
	 * @return  the value of payment_node.unit_price
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.unit_price
	 * @param unitPrice  the value for payment_node.unit_price
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.quantity
	 * @return  the value of payment_node.quantity
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getQuantity() {
		return quantity;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.quantity
	 * @param quantity  the value for payment_node.quantity
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.total_amount
	 * @return  the value of payment_node.total_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.total_amount
	 * @param totalAmount  the value for payment_node.total_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.party_amount
	 * @return  the value of payment_node.party_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public BigDecimal getPartyAmount() {
		return partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.party_amount
	 * @param partyAmount  the value for payment_node.party_amount
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setPartyAmount(BigDecimal partyAmount) {
		this.partyAmount = partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.party_time
	 * @return  the value of payment_node.party_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Date getPartyTime() {
		return partyTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.party_time
	 * @param partyTime  the value for payment_node.party_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setPartyTime(Date partyTime) {
		this.partyTime = partyTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.create_time
	 * @return  the value of payment_node.create_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.create_time
	 * @param createTime  the value for payment_node.create_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.dun_status
	 * @return  the value of payment_node.dun_status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getDunStatus() {
		return dunStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.dun_status
	 * @param dunStatus  the value for payment_node.dun_status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setDunStatus(Integer dunStatus) {
		this.dunStatus = dunStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.effective_count
	 * @return  the value of payment_node.effective_count
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getEffectiveCount() {
		return effectiveCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.effective_count
	 * @param effectiveCount  the value for payment_node.effective_count
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setEffectiveCount(Integer effectiveCount) {
		this.effectiveCount = effectiveCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.start_time
	 * @return  the value of payment_node.start_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.start_time
	 * @param startTime  the value for payment_node.start_time
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column payment_node.status
	 * @return  the value of payment_node.status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column payment_node.status
	 * @param status  the value for payment_node.status
	 * @mbg.generated  Tue Jul 07 13:58:53 CST 2020
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
}