Большая пачка обновлений
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Pf2eModel.Model.Enum;
|
||||
using Newtonsoft.Json;
|
||||
using Pf2eModel.Model.Enum;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
@@ -17,5 +18,6 @@ public partial class ClassKeyAbility
|
||||
[Column(Order = 3)]
|
||||
public AttributeValues Value { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Class Class { get; set; } = null!;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Pf2eModel.Model.Base;
|
||||
using Newtonsoft.Json;
|
||||
using Pf2eModel.Model.Base;
|
||||
using Pf2eModel.Model.Enum;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
@@ -23,6 +24,7 @@ public partial class ClassProgression
|
||||
[Column(Order = 5)]
|
||||
public int? EntityId { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Class Class { get; set; } = null!;
|
||||
|
||||
public virtual Entity? Entity { get; set; }
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using Pf2eModel.Model.Common;
|
||||
using Newtonsoft.Json;
|
||||
using Pf2eModel.Model.Common;
|
||||
using Pf2eModel.Model.Enum;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
@@ -22,8 +24,9 @@ public partial class ClassTraining
|
||||
public string? Name { get; set; }
|
||||
|
||||
[Column(Order = 5)]
|
||||
public int Stage { get; set; }
|
||||
public TrainingStage Stage { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Class Class { get; set; } = null!;
|
||||
|
||||
public virtual Training? Training { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user