25 lines
759 B
C#
25 lines
759 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Pf2eModel.Model.Base;
|
|
using Pf2eModel.Model.Enum;
|
|
using Pf2eModel.Model.Structure.BackgroundRelation;
|
|
|
|
namespace Pf2eModel.Model.Structure;
|
|
|
|
[EntityOfType(EntityType.Background)]
|
|
public partial class Background : IEntity
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
public Entity Entity { get; set; } = null!;
|
|
|
|
public virtual ICollection<BackgroundBoost> BackgroundBoosts { get; set; } = [];
|
|
|
|
public virtual ICollection<BackgroundItem> BackgroundItems { get; set; } = [];
|
|
|
|
public virtual ICollection<BackgroundTraining> BackgroundSkills { get; set; } = [];
|
|
}
|