Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
Executable
+60
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using WorkerService.Process;
|
||||
|
||||
namespace WorkerService.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Database update configuration
|
||||
/// </summary>
|
||||
public class DataSourceConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Name of source data system
|
||||
/// </summary>
|
||||
public string SourceSystem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of source data set
|
||||
/// </summary>
|
||||
public string SourceData { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of table being updated
|
||||
/// </summary>
|
||||
public string TableName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the data source is enabled
|
||||
/// </summary>
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Source data fetch function
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(FunctionConverter<DateTime?, IEnumerable<dynamic>>))]
|
||||
public Func<DateTime?, IEnumerable<dynamic>> DataFetchFunction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Post data update processing action
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ActionConverter))]
|
||||
public Action PostProcessingAction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Data update entry for mass update typ
|
||||
/// </summary>
|
||||
public DataUpdateConfig MassUpdateConfig { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Data update entry for daily update typ
|
||||
/// </summary>
|
||||
public DataUpdateConfig DailyUpdateConfig { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Data update entry for hourly update typ
|
||||
/// </summary>
|
||||
public DataUpdateConfig HourlyUpdateConfig { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user