17 lines
487 B
C#
17 lines
487 B
C#
namespace ExpenseTracker.Api.Models;
|
|
|
|
public class Entry
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid MonthId { get; set; }
|
|
public EntryType Type { get; set; }
|
|
public decimal Amount { get; set; }
|
|
public string Label { get; set; } = string.Empty;
|
|
public Guid? CategoryId { get; set; }
|
|
public DateOnly EntryDate { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public Month Month { get; set; } = null!;
|
|
public Category? Category { get; set; }
|
|
}
|