namespace JdeScoping.Core.Models.Infrastructure; /// /// DTO for data refresh/sync status display. /// Summarises a single sync run with pass/fail counts and per-table detail. /// public class DataUpdateDto { /// The start time of the data update. public DateTime StartDt { get; set; } /// The end time of the data update. public DateTime? EndDt { get; set; } /// Whether the data update was successful overall. public bool WasSuccessful { get; set; } /// Number of table syncs that succeeded. public int PassedCount { get; set; } /// Number of table syncs that failed. public int FailedCount { get; set; } /// Per-table detail for this sync run. public List Items { get; set; } = []; }