TInvestment.java 3.82 KB
Newer Older
耿迪迪's avatar
耿迪迪 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
package com.zehong.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 投入台账对象 t_investment
 * 
 * @author zehong
 * @date 2022-06-24
 */
public class TInvestment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 投入台账名称 */
    @Excel(name = "投入台账名称")
    private String investmentName;

    /** 投入年度 */
    @Excel(name = "投入年度")
    @JsonFormat(pattern = "yyyy")
    private short investmentYear;

    /** 投入资金 */
    @Excel(name = "投入资金")
    private String investmentFunds;

    /** 投入类型 */
    @Excel(name = "投入类型")
    private String investmentType;

    /** 同期收入 */
    @Excel(name = "同期收入")
    private String income;

    /** 提取方式 */
    @Excel(name = "提取方式")
    private String drawType;

    /** 周/月/季度 */
    @Excel(name = "周/月/季度")
    private String timeUnit;

    /** 评价 */
    @Excel(name = "评价")
    private String evaluate;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInvestmentName(String investmentName) 
    {
        this.investmentName = investmentName;
    }

    public String getInvestmentName() 
    {
        return investmentName;
    }
    public void setInvestmentYear(short investmentYear)
    {
        this.investmentYear = investmentYear;
    }

    public short getInvestmentYear()
    {
        return investmentYear;
    }
    public void setInvestmentFunds(String investmentFunds) 
    {
        this.investmentFunds = investmentFunds;
    }

    public String getInvestmentFunds() 
    {
        return investmentFunds;
    }
    public void setInvestmentType(String investmentType) 
    {
        this.investmentType = investmentType;
    }

    public String getInvestmentType() 
    {
        return investmentType;
    }
    public void setIncome(String income) 
    {
        this.income = income;
    }

    public String getIncome() 
    {
        return income;
    }
    public void setDrawType(String drawType) 
    {
        this.drawType = drawType;
    }

    public String getDrawType() 
    {
        return drawType;
    }
    public void setTimeUnit(String timeUnit) 
    {
        this.timeUnit = timeUnit;
    }

    public String getTimeUnit() 
    {
        return timeUnit;
    }
    public void setEvaluate(String evaluate) 
    {
        this.evaluate = evaluate;
    }

    public String getEvaluate() 
    {
        return evaluate;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("investmentName", getInvestmentName())
            .append("investmentYear", getInvestmentYear())
            .append("investmentFunds", getInvestmentFunds())
            .append("investmentType", getInvestmentType())
            .append("income", getIncome())
            .append("drawType", getDrawType())
            .append("timeUnit", getTimeUnit())
            .append("evaluate", getEvaluate())
            .append("projectName", getProjectName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}