using System; using System.Collections.Generic; namespace GB5Shared.DTO.WorkFlow { public class WorkflowMonitorSummaryDTO { public int PendingCount { get; set; } public int ApprovedCount { get; set; } public int RejectedCount { get; set; } public int ReturnedCount { get; set; } public int OverdueCount { get; set; } public int TotalCount { get; set; } public List Instances { get; set; } = new(); } public class WorkflowMonitorInstanceDTO { public int WorkflowInstanceId { get; set; } public int EntityId { get; set; } public string? EntityName { get; set; } public int ObjectId { get; set; } public string? WorkflowName { get; set; } public string? CurrentApproverName { get; set; } public byte WorkflowStatus { get; set; } public DateTime CreatedOn { get; set; } public DateTime? LastActionOn { get; set; } public bool IsOverdue { get; set; } } public class WorkflowMonitorCountsDTO { public int PendingCount { get; set; } public int ApprovedCount { get; set; } public int RejectedCount { get; set; } public int ReturnedCount { get; set; } public int OverdueCount { get; set; } public int TotalCount { get; set; } } }