using MongoDB.Entities; namespace PrivaPub.Models.Jobs { // The address ranges one CDN publishes, as CdnUpdater last downloaded them: kept, so a restart needs no download and a // failed download keeps the previous list. public class CdnRangeSet : Entity { public string Key { get; set; }//the CDN's domain (CdnProvider.Key) public string Name { get; set; } public List Ranges { get; set; } = new(); public List Sources { get; set; } = new(); public DateTime FetchedAt { get; set; } } }