Подклассы

This commit is contained in:
2025-09-15 09:47:05 +04:00
parent 72de052293
commit a9ee1d9cb5
190 changed files with 3344 additions and 145 deletions
@@ -21,7 +21,7 @@ namespace Pf2eModel.Migrations
.HasAnnotation("ProductVersion", "9.0.4")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "action_category", new[] { "archetype", "army_tactic", "army_war_action", "class-feat", "class-feature", "defensive", "familiar", "interaction", "kingdom_activity", "kingdom_feat", "kingdom_feature", "offensive", "skill-action", "unknown" });
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "action_category", new[] { "archetype", "army_tactic", "army_war_action", "class-feat", "class-feature", "familiar", "kingdom_activity", "kingdom_feat", "kingdom_feature", "skill-action", "unknown" });
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "action_enum", new[] { "1", "1 hour", "1 minute", "1-2", "1-3", "10 minutes", "2", "2-3", "2/2 rounds", "3", "30 minutes", "5 minutes", "free", "free/1", "other", "passive", "reaction", "reaction/1", "reaction/2", "reaction/3", "unknown" });
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "attribute_values", new[] { "cha", "con", "dex", "free", "int", "str", "wis" });
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "class_progression_type", new[] { "ancestry_feat", "attribute_increase", "class_feat", "entity", "general_feat", "skill_feat", "skill_increase" });
@@ -131,13 +131,19 @@ namespace Pf2eModel.Migrations
.HasColumnType("boolean")
.HasColumnName("is_checked")
.HasColumnOrder(9)
.HasComment("Флаг, указывающий, что сущность был проверен и не требует автоматической перезаписи");
.HasComment("Проверено?");
b.Property<bool?>("IsLegacy")
.HasColumnType("boolean")
.HasColumnName("is_legacy")
.HasColumnOrder(10)
.HasComment("Устаревшая?");
b.Property<bool?>("IsTranslated")
.HasColumnType("boolean")
.HasColumnName("is_translated")
.HasColumnOrder(8)
.HasComment("Флаг, указывающий, что у сущности существует перевод");
.HasComment("Есть перевод?");
b.Property<string>("Name")
.IsRequired()