Files
EmailBill/WebApi/Controllers/Dto/BudgetDto.cs
孙诚 556fc5af20
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 34s
Docker Build & Deploy / Deploy to Production (push) Successful in 9s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
更新预算归档功能,添加归档总结和更新归档总结接口,优化预算统计逻辑,调整相关样式
2026-01-12 22:29:39 +08:00

24 lines
625 B
C#

namespace WebApi.Controllers.Dto;
public class CreateBudgetDto
{
public string Name { get; set; } = string.Empty;
public BudgetPeriodType Type { get; set; } = BudgetPeriodType.Month;
public decimal Limit { get; set; }
public BudgetCategory Category { get; set; }
public string[] SelectedCategories { get; set; } = Array.Empty<string>();
public DateTime? StartDate { get; set; }
}
public class UpdateBudgetDto : CreateBudgetDto
{
public long Id { get; set; }
}
public class UpdateArchiveSummaryDto
{
public DateTime ReferenceDate { get; set; }
public string? Summary { get; set; }
}