TaskEnum.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Enums
  7. {
  8. /// <summary>
  9. /// 任务指派状态
  10. /// </summary>
  11. public enum TaskEnum : int
  12. {
  13. /// <summary>
  14. /// 任务指派状态
  15. /// 未开始
  16. /// </summary>
  17. NotStarted = 0,
  18. /// <summary>
  19. /// 任务指派状态
  20. /// 进行中
  21. /// </summary>
  22. UnderWay = 1,
  23. /// <summary>
  24. /// 任务指派状态
  25. /// 待审核
  26. /// </summary>
  27. WaitConfirm = 2,
  28. /// <summary>
  29. /// 任务指派状态
  30. /// 未完成
  31. /// </summary>
  32. UnFinished = 3,
  33. /// <summary>
  34. /// 任务指派状态
  35. /// 已完成
  36. /// </summary>
  37. Finished = 4,
  38. /// <summary>
  39. /// 任务指派状态
  40. /// 任务终止
  41. /// </summary>
  42. TaskStop = 5
  43. }
  44. /// <summary>
  45. /// 任务者状态
  46. /// </summary>
  47. public enum TaskerEnum : int
  48. {
  49. /// <summary>
  50. /// 任务指派状态
  51. /// 未开始
  52. /// </summary>
  53. NotStarted = -1,
  54. /// <summary>
  55. /// 任务指派状态
  56. /// 已知晓
  57. /// </summary>
  58. HaveKnown = 0,
  59. /// <summary>
  60. /// 任务指派状态
  61. /// 进行中
  62. /// </summary>
  63. UnderWay = 1,
  64. /// <summary>
  65. /// 任务指派状态
  66. /// 待审核
  67. /// </summary>
  68. WaitConfirm = 2,
  69. /// <summary>
  70. /// 任务指派状态
  71. /// 未完成
  72. /// </summary>
  73. UnFinished = 3,
  74. /// <summary>
  75. /// 任务指派状态
  76. /// 已完成
  77. /// </summary>
  78. Finished = 4,
  79. /// <summary>
  80. /// 任务指派状态
  81. /// 任务终止
  82. /// </summary>
  83. TaskStop = 5
  84. }
  85. }