using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WorkerService.Models { public class DataSource { public int DataSourceID { get; set; } public string Name { get; set; } public string HostName { get; set; } public string Username { get; set; } public string Password { get; set; } } public class DataLoad { public int DataLoadID { get; set; } public string Name { get; set; } public int DataSourceID { get; set; } public bool IsEnabled { get; set; } public List Schedules { get; set; } } public class DataLoadSchedule { public int DataLoadScheduleID { get; set; } public int DataLoadID { get; set; } public string Name { get; set; } public bool PurgeBeforeLoad { get; set; } public bool ReIndexAfterLoad { get; set; } public bool IsDaily { get; set; } } }