Files
jdescopingtool/NEW/src/JdeScoping.Core/Models/Infrastructure/DataUpdate.cs
T
Joseph Doherty e5fe2f06e9 feat: add startup config validation and document ConfigManager pipeline editor
Add ConfigurationValidationRunner with IConfigurationValidator interface for
validating required settings at startup. Includes SecureStore and LDAP validators.
Expand ConfigManager with pipeline editing UI, dialogs, and step editors.
Update documentation with config validation guidance.
2026-01-21 17:47:15 -05:00

60 lines
1.5 KiB
C#

using JdeScoping.Core.Models.Enums;
namespace JdeScoping.Core.Models.Infrastructure;
/// <summary>
/// Cache data update tracking entity
/// </summary>
public class DataUpdate
{
/// <summary>
/// PK ID of record
/// </summary>
public int Id { get; set; }
/// <summary>
/// Name of source system (JDE/CMS/etc)
/// </summary>
public string SourceSystem { get; set; } = string.Empty;
/// <summary>
/// Name of source data (WORK_ORDER, WORK_ORDER_STEP, etc)
/// </summary>
public string SourceData { get; set; } = string.Empty;
/// <summary>
/// Cache table name
/// </summary>
public string TableName { get; set; } = string.Empty;
/// <summary>
/// Timestamp at start of update
/// </summary>
public DateTime StartDt { get; set; }
/// <summary>
/// Timestamp at end of update (null while sync is in progress)
/// </summary>
public DateTime? EndDt { get; set; }
/// <summary>
/// Type of data update (Hourly, Daily, Mass)
/// </summary>
public UpdateTypes UpdateType { get; set; }
/// <summary>
/// Whether the update was successful
/// </summary>
public bool WasSuccessful { get; set; }
/// <summary>
/// Number of records in update
/// </summary>
public long NumberRecords { get; set; }
/// <summary>
/// JSON string of parameters used during the sync operation (key:value pairs).
/// </summary>
public string? Parameters { get; set; }
}