namespace FinControl.Domain.Entities; using Enums; public class Account { public Guid Id { get; set; } = Guid.NewGuid(); public Guid UserId { get; set; } public string Name { get; set; } = string.Empty; public AccountType Type { get; set; } public decimal InitialBalance { get; set; } public decimal CurrentBalance { get; set; } public string? Institution { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? UpdatedAt { get; set; } public User? User { get; set; } public ICollection Transactions { get; set; } = new List(); }