Программа просмотра базы данных
This commit is contained in:
@@ -5,6 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Pf2eModel.Model.Structure;
|
||||
|
||||
[EntityOfType(EntityType.Trait)]
|
||||
public partial class Trait : IEntity
|
||||
{
|
||||
[Key]
|
||||
@@ -17,5 +18,6 @@ public partial class Trait : IEntity
|
||||
[Column(Order = 2)]
|
||||
public TraitType Type { get; set; }
|
||||
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
public virtual ICollection<Entity> Entities { get; set; } = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user