27 lines
776 B
C#
27 lines
776 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticFundamentals.Entities;
|
|
|
|
/// <summary>
|
|
/// Relational table for analyst consensus revenue and EPS forecasts.
|
|
/// </summary>
|
|
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; }
|
|
}
|