feat(fundamentals): refactor entities, add Yahoo modules scraper, 52W metrics and migrations
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace FinlyticFundamentals.Entities;
|
||||
|
||||
public class AssetDataEntity
|
||||
{
|
||||
[Key] public string Isin { get; set; } = string.Empty;
|
||||
|
||||
[Key] public string Isin { get; set; } = "";
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public string Description { get; set; } = "";
|
||||
public TickerEntity PrimaryTicker { get; set; } = new();
|
||||
public List<TickerEntity> AvailableTickers { get; set; } = new();
|
||||
|
||||
public ICollection<KeyExecutiveEntity> KeyExecutives { get; set; }
|
||||
|
||||
public ICollection<AssetEventEntity> AssetEvents { get; set; }
|
||||
public ICollection<KeyExecutiveEntity> KeyExecutives { get; set; } = new List<KeyExecutiveEntity>();
|
||||
public ICollection<AssetEventEntity> AssetEvents { get; set; } = new List<AssetEventEntity>();
|
||||
public ICollection<FundamentalDataEntity> FundamentalData { get; set; } = new List<FundamentalDataEntity>();
|
||||
}
|
||||
Reference in New Issue
Block a user