AidopWorkbenchDtos.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. namespace Admin.NET.Plugin.AiDOP.Workbench.Dto;
  2. public class AidopWorkbenchSummaryDto
  3. {
  4. public string GeneratedAt { get; set; } = "";
  5. public AidopWorkbenchCountsDto Counts { get; set; } = new();
  6. public AidopWorkbenchSectionDto ImprovementActions { get; set; } = new();
  7. public AidopWorkbenchSectionDto ApprovalTasks { get; set; } = new();
  8. public AidopWorkbenchSectionDto S8Tasks { get; set; } = new();
  9. public AidopWorkbenchSectionDto UnreadNotices { get; set; } = new();
  10. public AidopWorkbenchSectionDto Pending { get; set; } = new();
  11. public AidopWorkbenchSectionDto Initiated { get; set; } = new();
  12. public AidopWorkbenchSectionDto Completed { get; set; } = new();
  13. }
  14. public class AidopWorkbenchCountsDto
  15. {
  16. public int ImprovementOpen { get; set; }
  17. public int ImprovementDueSoon { get; set; }
  18. public int ImprovementOverdue { get; set; }
  19. public int ApprovalPending { get; set; }
  20. public int S8Assigned { get; set; }
  21. public int S8Verification { get; set; }
  22. public int NoticeUnread { get; set; }
  23. public int PendingTotal { get; set; }
  24. public int InitiatedTotal { get; set; }
  25. public int CompletedTotal { get; set; }
  26. public int DueToday { get; set; }
  27. public int OverdueTotal { get; set; }
  28. }
  29. public class AidopWorkbenchSectionDto
  30. {
  31. public bool Available { get; set; } = true;
  32. public string? ErrorCode { get; set; }
  33. public string? Message { get; set; }
  34. public int Total { get; set; }
  35. public List<AidopWorkbenchItemDto> Items { get; set; } = new();
  36. }
  37. public class AidopWorkbenchItemDto
  38. {
  39. public string Id { get; set; } = "";
  40. public string Source { get; set; } = "";
  41. public string Title { get; set; } = "";
  42. public string? Status { get; set; }
  43. public string? DueDate { get; set; }
  44. public bool Overdue { get; set; }
  45. public string JumpUrl { get; set; } = "";
  46. public string? PlanId { get; set; }
  47. public string? PlanNo { get; set; }
  48. public string? Extra { get; set; }
  49. public string? Category { get; set; }
  50. public string? CreatedAt { get; set; }
  51. public string? CompletedAt { get; set; }
  52. public string? CurrentHandler { get; set; }
  53. }