package com.goafanti.common.model;

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

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table patent_payment_details
 */
public class PatentPaymentDetails implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.id
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Integer id;

    /**
     * Database Column Remarks:
     *   专利id
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.pid
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Integer pid;

    /**
     * Database Column Remarks:
     *   年份
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.years
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Integer years;

    /**
     * Database Column Remarks:
     *   金额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.patent_amount
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private BigDecimal patentAmount;

    /**
     * Database Column Remarks:
     *   截止时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.end_date
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Date endDate;

    /**
     * Database Column Remarks:
     *   状态 0未缴费 1已缴费
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.status
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Integer status;

    /**
     * Database Column Remarks:
     *   发起时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_payment_details.create_time
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table patent_payment_details
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_payment_details.id
     *
     * @return the value of patent_payment_details.id
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.id
     *
     * @param id the value for patent_payment_details.id
     *
     * @mbg.generated Fri Aug 06 15:00:19 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 patent_payment_details.pid
     *
     * @return the value of patent_payment_details.pid
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Integer getPid() {
        return pid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.pid
     *
     * @param pid the value for patent_payment_details.pid
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public void setPid(Integer pid) {
        this.pid = pid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_payment_details.years
     *
     * @return the value of patent_payment_details.years
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Integer getYears() {
        return years;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.years
     *
     * @param years the value for patent_payment_details.years
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public void setYears(Integer years) {
        this.years = years;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_payment_details.patent_amount
     *
     * @return the value of patent_payment_details.patent_amount
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public BigDecimal getPatentAmount() {
        return patentAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.patent_amount
     *
     * @param patentAmount the value for patent_payment_details.patent_amount
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public void setPatentAmount(BigDecimal patentAmount) {
        this.patentAmount = patentAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_payment_details.end_date
     *
     * @return the value of patent_payment_details.end_date
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.end_date
     *
     * @param endDate the value for patent_payment_details.end_date
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_payment_details.status
     *
     * @return the value of patent_payment_details.status
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.status
     *
     * @param status the value for patent_payment_details.status
     *
     * @mbg.generated Fri Aug 06 15:00:19 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 patent_payment_details.create_time
     *
     * @return the value of patent_payment_details.create_time
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_payment_details.create_time
     *
     * @param createTime the value for patent_payment_details.create_time
     *
     * @mbg.generated Fri Aug 06 15:00:19 CST 2021
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_payment_details
     *
     * @mbg.generated Fri Aug 06 15:00:19 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(", pid=").append(pid);
        sb.append(", years=").append(years);
        sb.append(", patentAmount=").append(patentAmount);
        sb.append(", endDate=").append(endDate);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}