35 lines
919 B
C#
35 lines
919 B
C#
using Pf2eModel.Model.Base;
|
|
using Pf2eModel.Model.Structure.ClassRelation;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Pf2eModel.Model.Structure;
|
|
|
|
public partial class Class : IEntity
|
|
{
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public Entity Entity { get; set; } = null!;
|
|
|
|
[Column(Order = 3)]
|
|
public int Hp { get; set; }
|
|
|
|
[Column(Order = 4)]
|
|
public int Perception { get; set; }
|
|
|
|
[Column(Order = 5)]
|
|
public bool Spellcasting { get; set; }
|
|
|
|
[Column(Order = 6)]
|
|
public int AdditionalTrainedSkills { get; set; }
|
|
|
|
public virtual ICollection<ClassKeyAbility> ClassKeyAbilities { get; set; } = [];
|
|
|
|
public virtual ICollection<ClassProgression> ClassProgressions { get; set; } = [];
|
|
|
|
public virtual ICollection<ClassTraining> ClassTrainings { get; set; } = [];
|
|
}
|