Seeding reorg

This commit is contained in:
gamer147
2026-05-24 21:13:15 -04:00
parent 34bcc579a5
commit c14408ba06
73 changed files with 4611 additions and 369716 deletions

View File

@@ -0,0 +1,14 @@
namespace SVSim.Database.Models.Config;
/// <summary>
/// Marks a POCO as a top-level GameConfig section. The <see cref="Name"/> is the storage key —
/// it's the primary key in the <c>GameConfigs</c> table and the appsettings.json section name
/// under <c>"GameConfig"</c>. Renaming a class is safe; renaming the section name here is a
/// breaking change to stored data and config files.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class ConfigSectionAttribute : Attribute
{
public string Name { get; }
public ConfigSectionAttribute(string name) => Name = name;
}