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