24 lines
979 B
C#
24 lines
979 B
C#
namespace Asentrafin.Api.Entities;
|
|
|
|
public class PlaidSecurity
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
public string PlaidSecurityId { get; set; } = string.Empty;
|
|
public string? Cusip { get; set; }
|
|
public string? Isin { get; set; }
|
|
public string? Sedol { get; set; }
|
|
public string? TickerSymbol { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Type { get; set; }
|
|
public decimal? ClosePrice { get; set; }
|
|
public DateOnly? ClosePriceAsOf { 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; } = "{}";
|
|
|
|
public ICollection<PlaidHolding> Holdings { get; set; } = [];
|
|
public ICollection<PlaidInvestmentTransaction> InvestmentTransactions { get; set; } = [];
|
|
}
|