Initial commit

This commit is contained in:
Kevin Harlay
2026-09-07 13:33:22 +02:00
commit ebfaf6f5ec
295 changed files with 8786 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
namespace ExpenseTracker.Api.DTOs;
public record EntryDto(
Guid Id,
Guid MonthId,
string Type,
decimal Amount,
string Label,
Guid? CategoryId,
string? CategoryName,
DateOnly EntryDate,
DateTime CreatedAt);
public record CreateEntryDto(
string Type,
decimal Amount,
string Label,
Guid? CategoryId,
DateOnly EntryDate);
public record UpdateEntryDto(
string Type,
decimal Amount,
string Label,
Guid? CategoryId,
DateOnly EntryDate);
public record ImportErrorDto(
int Line,
string Message);
public record ImportResultDto(
int ImportedCount,
int ErrorCount,
List<ImportErrorDto> Errors);