package com.goafanti.organization.bo;

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


public class outOrderPayment {


	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.tid
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer tid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.node_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer nodeId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer paymentType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.company_name
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private String companyName;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.quantity
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer quantity;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_status
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer paymentStatus;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.status
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer status;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private BigDecimal paymentAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.remarks
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private String remarks;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.create_time
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Date createTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.tpc_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer tpcId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.application_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private String applicationAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.choose_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private Integer chooseType;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.aid
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private String aid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.aname
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	private String aname;

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

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.id
	 * @param id  the value for t_order_payment.id
	 * @mbg.generated  Tue Jul 07 11:46:04 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 t_order_payment.tid
	 * @return  the value of t_order_payment.tid
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getTid() {
		return tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.tid
	 * @param tid  the value for t_order_payment.tid
	 * @mbg.generated  Tue Jul 07 11:46:04 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 t_order_payment.node_id
	 * @return  the value of t_order_payment.node_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getNodeId() {
		return nodeId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.node_id
	 * @param nodeId  the value for t_order_payment.node_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setNodeId(Integer nodeId) {
		this.nodeId = nodeId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.payment_type
	 * @return  the value of t_order_payment.payment_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getPaymentType() {
		return paymentType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.payment_type
	 * @param paymentType  the value for t_order_payment.payment_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.company_name
	 * @param companyName  the value for t_order_payment.company_name
	 * @mbg.generated  Tue Jul 07 11:46:04 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 t_order_payment.quantity
	 * @return  the value of t_order_payment.quantity
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getQuantity() {
		return quantity;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.quantity
	 * @param quantity  the value for t_order_payment.quantity
	 * @mbg.generated  Tue Jul 07 11:46:04 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 t_order_payment.payment_status
	 * @return  the value of t_order_payment.payment_status
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getPaymentStatus() {
		return paymentStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.payment_status
	 * @param paymentStatus  the value for t_order_payment.payment_status
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setPaymentStatus(Integer paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

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

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.payment_amount
	 * @return  the value of t_order_payment.payment_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public BigDecimal getPaymentAmount() {
		return paymentAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.payment_amount
	 * @param paymentAmount  the value for t_order_payment.payment_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.remarks
	 * @return  the value of t_order_payment.remarks
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public String getRemarks() {
		return remarks;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.remarks
	 * @param remarks  the value for t_order_payment.remarks
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.create_time
	 * @param createTime  the value for t_order_payment.create_time
	 * @mbg.generated  Tue Jul 07 11:46:04 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 t_order_payment.tpc_id
	 * @return  the value of t_order_payment.tpc_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getTpcId() {
		return tpcId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.tpc_id
	 * @param tpcId  the value for t_order_payment.tpc_id
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setTpcId(Integer tpcId) {
		this.tpcId = tpcId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.application_amount
	 * @return  the value of t_order_payment.application_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public String getApplicationAmount() {
		return applicationAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.application_amount
	 * @param applicationAmount  the value for t_order_payment.application_amount
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setApplicationAmount(String applicationAmount) {
		this.applicationAmount = applicationAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.choose_type
	 * @return  the value of t_order_payment.choose_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public Integer getChooseType() {
		return chooseType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.choose_type
	 * @param chooseType  the value for t_order_payment.choose_type
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setChooseType(Integer chooseType) {
		this.chooseType = chooseType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.aid
	 * @return  the value of t_order_payment.aid
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public String getAid() {
		return aid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.aid
	 * @param aid  the value for t_order_payment.aid
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setAid(String aid) {
		this.aid = aid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_order_payment.aname
	 * @return  the value of t_order_payment.aname
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public String getAname() {
		return aname;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.aname
	 * @param aname  the value for t_order_payment.aname
	 * @mbg.generated  Tue Jul 07 11:46:04 CST 2020
	 */
	public void setAname(String aname) {
		this.aname = aname;
	}
	
	public String getAuditNotes() {
		return auditNotes;
	}

	public void setAuditNotes(String auditNotes) {
		this.auditNotes = auditNotes;
	}

	private String auditNotes;

	

	/**
	 * 原数量
	 */
	 private Integer initialQuantity;
	 
	 /**
	 * 原总价
	 */
	 private String initialTotalAmount;
	 /**
	 * 原单价
	 */
	 private String initialUnitPrice;
	 /**
		 * 原已付
		 */
	 private String initialPaymentAmount;
	 private String initialCompanyName;
	 private String createTimes;
	 
	 private String financeName;
	
	 private String tpcName;
	public String getFinanceName() {
		return financeName;
	}
	public void setFinanceName(String financeName) {
		this.financeName = financeName;
	}
	public String getCreateTimes() {
		return createTimes;
	}
	public void setCreateTimes(String createTimes) {
		this.createTimes = createTimes;
	}
	public Integer getInitialQuantity() {
		return initialQuantity;
	}
	public void setInitialQuantity(Integer initialQuantity) {
		this.initialQuantity = initialQuantity;
	}
	public String getInitialTotalAmount() {
		return initialTotalAmount;
	}
	public void setInitialTotalAmount(String initialTotalAmount) {
		this.initialTotalAmount = initialTotalAmount;
	}
	public String getInitialUnitPrice() {
		return initialUnitPrice;
	}
	public void setInitialUnitPrice(String initialUnitPrice) {
		this.initialUnitPrice = initialUnitPrice;
	}
	public String getInitialPaymentAmount() {
		return initialPaymentAmount;
	}
	public void setInitialPaymentAmount(String initialPaymentAmount) {
		this.initialPaymentAmount = initialPaymentAmount;
	}
	public String getInitialCompanyName() {
		return initialCompanyName;
	}
	public void setInitialCompanyName(String initialCompanyName) {
		this.initialCompanyName = initialCompanyName;
	}
	public String getTpcName() {
		return tpcName;
	}
	public void setTpcName(String tpcName) {
		this.tpcName = tpcName;
	}
	
	
	/*public String getAuditInformation() {
		if (getStatus()==null) return "";
		else if (getStatus()==0) return "待"+financeName+"审核";
		else if (getStatus()==1) return "待重新提交";
		else if (getStatus()==2) return "待"+financeName+"支付";
		else if (getStatus()==3) return "已完成支付";
		return "";
	}*/



	 
	 
}
