namespace Asentrafin.Api.Entities; public class PlaidHolding { public Guid Id { get; set; } = Guid.NewGuid(); public Guid PlaidItemId { get; set; } public PlaidItem PlaidItem { get; set; } = null!; public Guid PlaidAccountId { get; set; } public PlaidAccount PlaidAccount { get; set; } = null!; public Guid PlaidSecurityId { get; set; } public PlaidSecurity PlaidSecurity { get; set; } = null!; public decimal Quantity { get; set; } public decimal? InstitutionPrice { get; set; } public decimal? InstitutionValue { get; set; } public DateOnly? InstitutionPriceAsOf { get; set; } public decimal? CostBasis { get; set; } public string? IsoCurrencyCode { get; set; } public string? UnofficialCurrencyCode { get; set; } public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow; public DateTimeOffset UpdatedAt { get; set; } = DateTimeOffset.UtcNow; public string RawJson { get; set; } = "{}"; }