Files
Pf2eDataScrapper/Pf2eDataScrapper/Model/Structure/Background.cs
T

23 lines
714 B
C#

using Pf2eDataScrapper.Model.Structure.BackgroundRelation;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Pf2eDataScrapper.Model.Base;
namespace Pf2eDataScrapper.Model.Structure;
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; } = [];
}