FlowResult.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.Entity.WorkProcessDto;
  4. using GxPress.EnumConst;
  5. namespace GxPress.Result.App.Flow
  6. {
  7. /// <summary>
  8. /// 流程
  9. /// </summary>
  10. public class FlowResult
  11. {
  12. /// <summary>
  13. /// 流程Id
  14. /// </summary>
  15. public int ProcessId { get; set; }
  16. /// <summary>
  17. /// 头像地址
  18. /// </summary>
  19. public string AvatarUrl { get; set; }
  20. /// <summary>
  21. /// 用户名
  22. /// </summary>
  23. public string UserName { get; set; }
  24. /// <summary>
  25. /// 流程项名称
  26. /// </summary>
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// 状态
  30. /// </summary>
  31. public FlowState State { get; set; }
  32. /// <summary>
  33. /// 主流程状态
  34. /// </summary>
  35. public FlowState FlowState { get; set; }
  36. /// <summary>
  37. /// 审批编号
  38. /// </summary>
  39. public string No { get; set; }
  40. /// <summary>
  41. /// 部门名称
  42. /// </summary>
  43. public string DepartmentName { get; set; }
  44. /// <summary>
  45. /// 添加时间
  46. /// </summary>
  47. public DateTime? CreatedDate { get; set; }
  48. /// <summary>
  49. /// 表单字段
  50. /// </summary>
  51. public List<FormField> FormFields { get; set; }
  52. /// <summary>
  53. /// 流程节点
  54. /// </summary>
  55. public List<NodeResult> Nodes { get; set; }
  56. /// <summary>
  57. /// 抄送人
  58. /// </summary>
  59. public string CarbonCopies { get; set; }
  60. /// <summary>
  61. /// 审批意见
  62. /// </summary>
  63. public List<MessageResult> CheckMessages { get; set; }
  64. /// <summary>
  65. /// 审核人列表
  66. /// </summary>
  67. public List<Entity.User> ApproverCheckUsers { get; set; }
  68. /// <summary>
  69. /// 抄送人列表
  70. /// </summary>
  71. public List<Entity.User> CarbonCopyUsers { get; set; }
  72. /// <summary>
  73. /// 流程名称
  74. /// </summary>
  75. /// <value></value>
  76. public string ProcessName { get; set; }
  77. /// <summary>
  78. /// 新版附件
  79. /// </summary>
  80. /// <value></value>
  81. public List<Entity.WorkFlow.FlowAttachment> FlowAttachments { get; set; }
  82. /// <summary>
  83. /// 创建者ID
  84. /// </summary>
  85. /// <value></value>
  86. public int UserId { get; set; }
  87. /// <summary>
  88. /// 是否是发起人
  89. /// </summary>
  90. /// <value></value>
  91. public bool IsAdmin { get; set; }
  92. }
  93. }