namespace Asentrafin.Api.Entities; public class PlaidAccount { public Guid Id { get; set; } = Guid.NewGuid(); public Guid PlaidItemId { get; set; } public PlaidItem PlaidItem { get; set; } = null!; public string PlaidAccountId { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public string? OfficialName { get; set; } public string? Mask { get; set; } public string Type { get; set; } = string.Empty; public string? Subtype { get; set; } public decimal? CurrentBalance { get; set; } public decimal? AvailableBalance { get; set; } public decimal? Limit { get; set; } public string? IsoCurrencyCode { get; set; } public string? UnofficialCurrencyCode { get; set; } public DateTimeOffset? BalanceLastUpdatedAt { get; set; } public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow; public DateTimeOffset UpdatedAt { get; set; } = DateTimeOffset.UtcNow; public string RawJson { get; set; } = "{}"; public ICollection Transactions { get; set; } = []; public ICollection Holdings { get; set; } = []; public ICollection InvestmentTransactions { get; set; } = []; }