Files
Pf2eDataScrapper/Pf2eDataScrapper/Model/Structure/DeityRelation/DeityAttribute.cs
T

18 lines
468 B
C#

using Microsoft.EntityFrameworkCore;
using Pf2eDataScrapper.Model.Enum;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pf2eDataScrapper.Model.Structure.DeityRelation;
[PrimaryKey(nameof(DeityId), nameof(Attribute))]
public partial class DeityAttribute
{
[Column(Order = 1)]
public int DeityId { get; set; }
[Column(Order = 2)]
public AttributeValues Attribute { get; set; }
public virtual Deity Deity { get; set; } = null!;
}