All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 11s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
18 lines
494 B
C#
18 lines
494 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; }
|
|
}
|
|
|