feat(Fundamentals): add fundamentals service
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace FinlyticFundamentals.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// Relational executive board table linked to the main fundamentals entity by ISIN.
|
||||
/// </summary>
|
||||
public class CompanyExecutiveEntity
|
||||
{
|
||||
[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 Name { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public int? Age { get; set; }
|
||||
public decimal? Compensation { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user