24 lines
583 B
C#
24 lines
583 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Newtonsoft.Json;
|
|
using Pf2eModel.Model.Enum;
|
|
|
|
namespace Pf2eModel.Model.Structure.BackgroundRelation;
|
|
|
|
public class BackgroundBoost
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public int BackgroundId { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public AttributeValues Attribute { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public Background Background { get; set; } = null!;
|
|
}
|