| 1234567891011121314151617181920212223242526 |
- using System.Text.Json.Serialization;
- namespace Quadarax.Application.QLiberace.Common.Configuration
- {
- public class Settings
- {
- [JsonPropertyName("modules")]
- public IList<ModuleConfiguration> Modules { get; set; }
- public Settings()
- {
- Modules = new List<ModuleConfiguration>();
- }
- }
- public class ModuleConfiguration
- {
- [JsonPropertyName("code")]
- public string Code { get; set; } = null!;
- [JsonPropertyName("connection-string")]
- public string ConnectionString { get; set; } = null!;
- }
- }
|