26 lines
631 B
C#
26 lines
631 B
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Pf2eModel.Model.Structure.AncestryRelation;
|
|
|
|
public partial class AncestryBoost
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public int AncestryId { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public bool Boost { get; set; } = true;
|
|
|
|
[Column(Order = 4)]
|
|
public Enum.AttributeValues Value { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Ancestry Ancestry { get; set; } = null!;
|
|
}
|