Большой рефактор
This commit is contained in:
@@ -4,7 +4,7 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace Pf2eModel.Model.Structure.AncestryRelation;
|
||||
|
||||
public partial class AncestryBoost
|
||||
public class AncestryBoost
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
@@ -21,5 +21,5 @@ public partial class AncestryBoost
|
||||
public Enum.AttributeValues Value { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Ancestry Ancestry { get; set; } = null!;
|
||||
public Ancestry Ancestry { get; set; } = null!;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ using Pf2eModel.Model.Base;
|
||||
namespace Pf2eModel.Model.Structure.AncestryRelation;
|
||||
|
||||
[PrimaryKey(nameof(AncestryId), nameof(ItemId))]
|
||||
public partial class AncestryItem
|
||||
public class AncestryItem
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public int AncestryId { get; set; }
|
||||
@@ -16,7 +16,7 @@ public partial class AncestryItem
|
||||
[Column(Order = 3)]
|
||||
public int Level { get; set; }
|
||||
|
||||
public virtual Ancestry Ancestry { get; set; } = null!;
|
||||
public Ancestry Ancestry { get; set; } = null!;
|
||||
|
||||
public virtual Entity Item { get; set; } = null!;
|
||||
public Entity Item { get; set; } = null!;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore;
|
||||
namespace Pf2eModel.Model.Structure.AncestryRelation;
|
||||
|
||||
[PrimaryKey(nameof(AncestryId), nameof(LanguageId))]
|
||||
public partial class AncestryLanguage
|
||||
public class AncestryLanguage
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public int AncestryId { get; set; }
|
||||
@@ -15,7 +15,7 @@ public partial class AncestryLanguage
|
||||
[Column(Order = 3)]
|
||||
public bool IsAdditional { get; set; }
|
||||
|
||||
public virtual Ancestry Ancestry { get; set; } = null!;
|
||||
public Ancestry Ancestry { get; set; } = null!;
|
||||
|
||||
public virtual Language Language { get; set; } = null!;
|
||||
public Language Language { get; set; } = null!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user