feat(Fundamentals): add fundamentals service
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user