package com.ssm.ioc;

import java.math.BigDecimal;


public class Budget {
    //预算编号
    private Integer budgetId;
    //预算分类
    private String category;
    //预算金额
    private BigDecimal amount;
    //预算周期
    private String period;
    //预算生效日期
    private String startDate;
    //预算备注
    private String remark;

    public Integer getBudgetId() {
        return budgetId;
    }

    public void setBudgetId(Integer budgetId) {
        this.budgetId = budgetId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    //自定义方法
    public void printBudgetInfo(){
        System.out.println("预算编号：" + budgetId);
        System.out.println("预算分类：" + category);
        System.out.println("预算金额：" + amount);
        System.out.println("预算周期：" + period);
        System.out.println("生效日期：" + startDate);
        System.out.println("备注：" + remark);
    }
}
