feat(fundamentals): refactor entities, add Yahoo modules scraper, 52W metrics and migrations
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
namespace FinlyticFundamentals.Entities;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace FinlyticFundamentals.Entities;
|
||||
|
||||
public class AssetEventEntity
|
||||
{
|
||||
|
||||
[Key]
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
|
||||
public TickerEntity Ticker { get; set; } = new();
|
||||
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
[Required]
|
||||
public string AssetDataIsin { get; set; } = string.Empty;
|
||||
|
||||
[ForeignKey(nameof(AssetDataIsin))]
|
||||
public AssetDataEntity AssetData { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user