1b9367dcbb
Replace 11 per-table record columns on /refresh-status with Passed/Failed summary counts and a click-to-expand detail dialog showing per-table results. Add date-range SQL query to push filtering to the database. Sort pipeline dropdown alphabetically on /data-sync/requests.
27 lines
921 B
C#
27 lines
921 B
C#
namespace JdeScoping.Core.Models.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// DTO for data refresh/sync status display.
|
|
/// Summarises a single sync run with pass/fail counts and per-table detail.
|
|
/// </summary>
|
|
public class DataUpdateDto
|
|
{
|
|
/// <summary>The start time of the data update.</summary>
|
|
public DateTime StartDt { get; set; }
|
|
|
|
/// <summary>The end time of the data update.</summary>
|
|
public DateTime? EndDt { get; set; }
|
|
|
|
/// <summary>Whether the data update was successful overall.</summary>
|
|
public bool WasSuccessful { get; set; }
|
|
|
|
/// <summary>Number of table syncs that succeeded.</summary>
|
|
public int PassedCount { get; set; }
|
|
|
|
/// <summary>Number of table syncs that failed.</summary>
|
|
public int FailedCount { get; set; }
|
|
|
|
/// <summary>Per-table detail for this sync run.</summary>
|
|
public List<DataUpdateItemDto> Items { get; set; } = [];
|
|
}
|