first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.accounting.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class BudgetSettlementResponse {
|
||||
private Integer year; // 年份
|
||||
|
||||
private Integer month; // 月份
|
||||
|
||||
private BigDecimal budgetAmount; // 预算金额
|
||||
|
||||
private BigDecimal actualExpense; // 实际支出
|
||||
|
||||
private Boolean isOverBudget; // 是否超支
|
||||
|
||||
private BigDecimal overAmount; // 超支金额(如果超支)
|
||||
|
||||
private BigDecimal completionRate; // 完成率(实际支出/预算金额,如果预算为0则为null)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user