using System; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace FinlyticFundamentals.Entities; /// /// Relational table for analyst consensus revenue and EPS forecasts. /// public class ForwardEstimateEntity { [Key] public Guid Id { get; set; } = Guid.NewGuid(); [Required] public string Isin { get; set; } = string.Empty; [JsonIgnore] public AssetFundamentalsEntity? AssetFundamentals { get; set; } [Required] public string Period { get; set; } = string.Empty; // "CurrentQuarter", "NextQuarter", "CurrentYear", "NextYear" public decimal? ExpectedRevenue { get; set; } public decimal? ExpectedEps { get; set; } public decimal? ExpectedGrowthRate { get; set; } }