AI-accounting-soft/src/main/java/com/accounting/dto/BudgetSettlementResponse.java
ni ziyi 2ca71b6982 feat(预算功能新增)
1、实现月度预算功能,每个用户每个月可以设置一个预算金额。在首页展示预算相关信息,并提供预算调整功能。每月首次打开应用时,自动结算上月预算并弹窗通知用户,同时开启本月预算。
2025-12-13 22:33:42 +08:00

24 lines
570 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}