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_year_payment
 */
public class PatentYearPayment implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_year_payment.id
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    private Integer id;

    /**
     * Database Column Remarks:
     *   专利分类 0实用新型 1发明专利 2外观专利 
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_year_payment.type
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    private Integer type;

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

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

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

    /**
     * Database Column Remarks:
     *   费减金额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column patent_year_payment.reduction_amount
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    private BigDecimal reductionAmount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table patent_year_payment
     *
     * @mbg.generated Fri Aug 06 15:52:32 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_year_payment.id
     *
     * @return the value of patent_year_payment.id
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public Integer getId() {
        return id;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_year_payment.type
     *
     * @param type the value for patent_year_payment.type
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column patent_year_payment.year
     *
     * @return the value of patent_year_payment.year
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public Integer getYear() {
        return year;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_year_payment.year
     *
     * @param year the value for patent_year_payment.year
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public void setYear(Integer year) {
        this.year = year;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_year_payment.create_time
     *
     * @param createTime the value for patent_year_payment.create_time
     *
     * @mbg.generated Fri Aug 06 15:52:32 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 patent_year_payment.reduction_amount
     *
     * @return the value of patent_year_payment.reduction_amount
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public BigDecimal getReductionAmount() {
        return reductionAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column patent_year_payment.reduction_amount
     *
     * @param reductionAmount the value for patent_year_payment.reduction_amount
     *
     * @mbg.generated Fri Aug 06 15:52:32 CST 2021
     */
    public void setReductionAmount(BigDecimal reductionAmount) {
        this.reductionAmount = reductionAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_year_payment
     *
     * @mbg.generated Fri Aug 06 15:52:32 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(", type=").append(type);
        sb.append(", year=").append(year);
        sb.append(", patentAmount=").append(patentAmount);
        sb.append(", createTime=").append(createTime);
        sb.append(", reductionAmount=").append(reductionAmount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}