Большая пачка обновлений
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;
|
||||
|
||||
@@ -7,7 +8,7 @@ namespace Pf2eModel.Model.Structure.BackgroundRelation;
|
||||
public partial class BackgroundBoost
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Column(Order = 1)]
|
||||
public int Id { get; set; }
|
||||
|
||||
@@ -17,5 +18,6 @@ public partial class BackgroundBoost
|
||||
[Column(Order = 3)]
|
||||
public AttributeValues Attribute { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Background Background { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user