26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
41 lines
1.1 KiB
C#
Executable File
41 lines
1.1 KiB
C#
Executable File
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<DataLoadSchedule> 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; }
|
|
}
|
|
}
|