using Microsoft.EntityFrameworkCore; using SVSim.Database.Models.Config; namespace SVSim.Database.Models; /// /// The root of , stored as a single jsonb column. /// Each sub-object defaults to its own initialiser, so `new GameConfigRoot()` is fully populated /// with the canonical SV Classic / DCGEngine defaults. /// [Owned] public class GameConfigRoot { public DefaultGrantsConfig DefaultGrants { get; set; } = new(); public PlayerConfig Player { get; set; } = new(); public DefaultLoadoutConfig DefaultLoadout { get; set; } = new(); public ChallengeConfig Challenge { get; set; } = new(); public RotationConfig Rotation { get; set; } = new(); public PackRateConfig PackRates { get; set; } = new(); }