18 lines
611 B
C#
18 lines
611 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace FinlyticFundamentals.Entities;
|
|
|
|
public class KeyExecutiveEntity
|
|
{
|
|
[Key] public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Payment { get; set; } = string.Empty;
|
|
public int SortOrder { get; set; } = 0;
|
|
|
|
[Required] public string AssetDataIsin { get; set; } = string.Empty;
|
|
|
|
[ForeignKey(nameof(AssetDataIsin))] public AssetDataEntity AssetData { get; set; } = null!;
|
|
} |