24 lines
575 B
C#
24 lines
575 B
C#
using Newtonsoft.Json;
|
|
using Pf2eModel.Model.Enum;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Pf2eModel.Model.Structure.ClassRelation;
|
|
|
|
public partial class ClassKeyAbility
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public int ClassId { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public AttributeValues Value { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Class Class { get; set; } = null!;
|
|
}
|