namespace JdeScoping.Core.Models.Infrastructure;
///
/// DTO for data refresh/sync status display.
/// Aggregates record counts from multiple table updates into a single row.
///
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; }
/// The number of branch records updated.
public int BranchRecords { get; set; }
/// The number of profit center records updated.
public int ProfitCenterRecords { get; set; }
/// The number of work center records updated.
public int WorkCenterRecords { get; set; }
/// The number of organizational hierarchy records updated.
public int OrgHierarchyRecords { get; set; }
/// The number of status code records updated.
public int StatusCodeRecords { get; set; }
/// The number of user records updated.
public int UserRecords { get; set; }
/// The number of item records updated.
public int ItemRecords { get; set; }
/// The number of lot records updated.
public int LotRecords { get; set; }
/// The number of work order records updated.
public int WorkOrderRecords { get; set; }
/// The number of work order step records updated.
public int WorkOrderStepRecords { get; set; }
/// The number of work order component records updated.
public int WorkOrderComponentRecords { get; set; }
/// Whether the data update was successful.
public bool WasSuccessful { get; set; }
}