using System.ComponentModel.DataAnnotations; namespace Musify.Infrastructure.Configuration { public class YouTubeConfiguration { public const string SectionName = "YouTube"; [Required] public string GeographicalLocation { get; set; } = "US"; [Range(60, 21600)] public int StreamUrlCacheSeconds { get; set; } = 1800; [Range(60, 3600)] public int SearchContinuationCacheSeconds { get; set; } = 600; } }