You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

package com.ssm.first;
import java.util.Date;
public class Budget {
private Integer budgetId;
private Integer userId;
private String budgetType;
private Double totalAmount;
private Double usedAmount;
private Date startDate;
private Date endDate;
public Budget() {}
public Integer getBudgetId() { return budgetId; }
public void setBudgetId(Integer budgetId) { this.budgetId = budgetId; }
public Integer getUserId() { return userId; }
public void setUserId(Integer userId) { this.userId = userId; }
public String getBudgetType() { return budgetType; }
public void setBudgetType(String budgetType) { this.budgetType = budgetType; }
public Double getTotalAmount() { return totalAmount; }
public void setTotalAmount(Double totalAmount) { this.totalAmount = totalAmount; }
public Double getUsedAmount() { return usedAmount; }
public void setUsedAmount(Double usedAmount) { this.usedAmount = usedAmount; }
public Date getStartDate() { return startDate; }
public void setStartDate(Date startDate) { this.startDate = startDate; }
public Date getEndDate() { return endDate; }
public void setEndDate(Date endDate) { this.endDate = endDate; }
@Override
public String toString() {
return "Budget{" +
"budgetId=" + budgetId +
", userId=" + userId +
", budgetType='" + budgetType + '\'' +
", totalAmount=" + totalAmount +
", usedAmount=" + usedAmount +
", startDate=" + startDate +
", endDate=" + endDate +
'}';
}
}