Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace ExpenseTracker.Api.DTOs;
|
||||
|
||||
public record MonthDto(
|
||||
Guid Id,
|
||||
int Year,
|
||||
int MonthNumber,
|
||||
decimal DefaultSalary,
|
||||
DateTime CreatedAt);
|
||||
|
||||
public record CreateMonthDto(
|
||||
int Year,
|
||||
int Month,
|
||||
decimal DefaultSalary);
|
||||
|
||||
public record MonthSummaryDto(
|
||||
Guid MonthId,
|
||||
int Year,
|
||||
int MonthNumber,
|
||||
decimal TotalIncome,
|
||||
decimal TotalExpense,
|
||||
decimal Balance);
|
||||
Reference in New Issue
Block a user