Вынесение модели в отдельный проект
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using Pf2eModel.Model.Base;
|
||||
using Pf2eModel.Model.Enum;
|
||||
using Pf2eModel.Model.Structure.FeatRelation;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Pf2eModel.Model.Structure;
|
||||
|
||||
public partial class Feat : IEntity
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[Column(Order = 1)]
|
||||
public int Id { get; set; }
|
||||
|
||||
public Entity Entity { get; set; } = null!;
|
||||
|
||||
[Column(Order = 2)]
|
||||
public ActionType Type { get; set; }
|
||||
|
||||
[Column(Order = 3)]
|
||||
public ActionCategory Category { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public int? Actions { get; set; }
|
||||
|
||||
[Column(Order = 5)]
|
||||
public int Level { get; set; }
|
||||
|
||||
[Column(Order = 6)]
|
||||
public int? LevelTaken { get; set; }
|
||||
|
||||
[Column(Order = 7)]
|
||||
public int? MaxTakable { get; set; }
|
||||
|
||||
[Column(Order = 8)]
|
||||
[MaxLength(255)]
|
||||
public string? Location { get; set; }
|
||||
|
||||
[Column(Order = 9)]
|
||||
public bool? OnlyLevel1 { get; set; }
|
||||
|
||||
[Column(Order = 10)]
|
||||
public string? Extra { get; set; }
|
||||
|
||||
public virtual ICollection<FeatPrerequisite> FeatPrerequisites { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user