package com.goafanti.common.model;

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

public class TOrderPayment implements Serializable {

	/**
	 * Database Column Remarks: 编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.id
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer id;
	/**
	 * Database Column Remarks: 项目编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.tid
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer tid;
	/**
	 * Database Column Remarks: 节点编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.node_id
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer nodeId;
	/**
	 * Database Column Remarks: 支付种类 0第三方 1催款 2官费 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.choose_type
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer chooseType;
	/**
	 * Database Column Remarks: 支付类型 0第三方 1官费(废弃) This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_type
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer paymentType;
	/**
	 * Database Column Remarks: 公司名称 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.company_name
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private String companyName;
	/**
	 * Database Column Remarks: 数量 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.quantity
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer quantity;
	/**
	 * Database Column Remarks: 支付状态 0半款 1全款 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_status
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer paymentStatus;
	/**
	 * Database Column Remarks: 状态 0审核 1驳回 2待支付 3已支付 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.status
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer status;
	/**
	 * Database Column Remarks: 申请金额 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.application_amount
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private BigDecimal applicationAmount;
	/**
	 * Database Column Remarks: 支付金额 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.payment_amount
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private BigDecimal paymentAmount;
	/**
	 * Database Column Remarks: 备注 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.remarks
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private String remarks;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.create_time
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Date createTime;
	/**
	 * Database Column Remarks: 负责人 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.aid
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private String aid;
	/**
	 * Database Column Remarks: 负责名称 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.aname
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private String aname;
	/**
	 * Database Column Remarks: 第三方机构编号 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.tpc_id
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer tpcId;
	/**
	 * Database Column Remarks: 流程状态 0发起 1咨询师管理员 2财务 This field was generated by MyBatis Generator. This field corresponds to the database column t_order_payment.process_status
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private Integer processStatus;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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.choose_type
	 * @return  the value of t_order_payment.choose_type
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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.payment_type
	 * @return  the value of t_order_payment.payment_type
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName == null ? null : companyName.trim();
	}

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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.application_amount
	 * @return  the value of t_order_payment.application_amount
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	public BigDecimal 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 20 09:16:18 CST 2021
	 */
	public void setApplicationAmount(BigDecimal applicationAmount) {
		this.applicationAmount = applicationAmount;
	}

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks == null ? null : remarks.trim();
	}

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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.aid
	 * @return  the value of t_order_payment.aid
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	public void setAid(String aid) {
		this.aid = aid == null ? null : aid.trim();
	}

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	public void setAname(String aname) {
		this.aname = aname == null ? null : aname.trim();
	}

	/**
	 * 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 20 09:16:18 CST 2021
	 */
	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 20 09:16:18 CST 2021
	 */
	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.process_status
	 * @return  the value of t_order_payment.process_status
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	public Integer getProcessStatus() {
		return processStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_order_payment.process_status
	 * @param processStatus  the value for t_order_payment.process_status
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	public void setProcessStatus(Integer processStatus) {
		this.processStatus = processStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_payment
	 * @mbg.generated  Tue Jul 20 09:16:18 CST 2021
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", tid=").append(tid);
		sb.append(", nodeId=").append(nodeId);
		sb.append(", chooseType=").append(chooseType);
		sb.append(", paymentType=").append(paymentType);
		sb.append(", companyName=").append(companyName);
		sb.append(", quantity=").append(quantity);
		sb.append(", paymentStatus=").append(paymentStatus);
		sb.append(", status=").append(status);
		sb.append(", applicationAmount=").append(applicationAmount);
		sb.append(", paymentAmount=").append(paymentAmount);
		sb.append(", remarks=").append(remarks);
		sb.append(", createTime=").append(createTime);
		sb.append(", aid=").append(aid);
		sb.append(", aname=").append(aname);
		sb.append(", tpcId=").append(tpcId);
		sb.append(", processStatus=").append(processStatus);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}

	public String getAuditNotes() {
		return auditNotes;
	}

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

	private String auditNotes;

	
}