Files
jdescopingtool/NEW/src/JdeScoping.Core/Models/Infrastructure/DataUpdateDto.cs
T
Joseph Doherty 1b9367dcbb Redesign refresh status table with summary counts and detail popup, sort pipeline dropdown alphabetically
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.
2026-02-11 19:00:53 -05:00

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; } = [];
}