namespace FinControl.Domain.Entities; using Enums; public class Transaction { public Guid Id { get; set; } = Guid.NewGuid(); public Guid AccountId { get; set; } public Guid CategoryId { get; set; } public decimal Amount { get; set; } public TransactionType Type { get; set; } public DateTime Date { get; set; } = DateTime.UtcNow; public string Description { get; set; } = string.Empty; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? UpdatedAt { get; set; } public Account? Account { get; set; } public Category? Category { get; set; } }