feat(fundamentals): refactor entities, add Yahoo modules scraper, 52W metrics and migrations

This commit is contained in:
2026-08-14 23:55:15 +02:00
parent 4f733bf8c3
commit 1447f0aa4c
18 changed files with 2565 additions and 1562 deletions
@@ -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!;
}