Files
Pf2eDataScrapper/Pf2eModel/Model/Structure/AncestryRelation/AncestryLanguage.cs
T

22 lines
562 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pf2eModel.Model.Structure.AncestryRelation;
[PrimaryKey(nameof(AncestryId), nameof(LanguageId))]
public partial class AncestryLanguage
{
[Column(Order = 1)]
public int AncestryId { get; set; }
[Column(Order = 2)]
public int LanguageId { get; set; }
[Column(Order = 3)]
public bool IsAdditional { get; set; }
public virtual Ancestry Ancestry { get; set; } = null!;
public virtual Language Language { get; set; } = null!;
}