26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
66 lines
1.5 KiB
C#
Executable File
66 lines
1.5 KiB
C#
Executable File
using System;
|
|
|
|
namespace DataModel.Models
|
|
{
|
|
/// <summary>
|
|
/// Cache data update
|
|
/// </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; }
|
|
|
|
/// <summary>
|
|
/// Name of source data (WORK_ORDER, WORK_ORDER_STEP, etc)
|
|
/// </summary>
|
|
public string SourceData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Cache table name
|
|
/// </summary>
|
|
public string TableName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Timestamp at start of update
|
|
/// </summary>
|
|
public DateTime StartDT { get; set; }
|
|
|
|
/// <summary>
|
|
/// Timestamp at end of update
|
|
/// </summary>
|
|
public DateTime EndDT { get; set; }
|
|
|
|
/// <summary>
|
|
/// Type of data update
|
|
/// </summary>
|
|
public UpdateTypes UpdateType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether or not the update was successful
|
|
/// </summary>
|
|
public bool WasSuccessful { get; set; }
|
|
|
|
/// <summary>
|
|
/// Number of records in update
|
|
/// </summary>
|
|
public long NumberRecords { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Types of data update
|
|
/// </summary>
|
|
public enum UpdateTypes
|
|
{
|
|
Hourly = 1,
|
|
Daily = 2,
|
|
Mass = 3
|
|
}
|
|
}
|