TreeNode.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Dtos.PersonnelModule
  8. {
  9. public class TreeNode
  10. {
  11. public int Id { get; set; }
  12. public string Name { get; set; }
  13. /// <summary>
  14. /// 考核占比
  15. /// </summary>
  16. public decimal AssessmentProportion { get; set; }
  17. /// <summary>
  18. /// 评分标准
  19. /// </summary>
  20. public string AssessmentStandard { get; set; }
  21. /// <summary>
  22. /// 父编号
  23. /// </summary>
  24. public int ParentId { get; set; }
  25. /// <summary>
  26. /// 项目设置表id
  27. /// </summary>
  28. public int AssessmentSettingId { get; set; }
  29. /// <summary>
  30. /// 占比
  31. /// </summary>
  32. public decimal AssessmentProportionChi { get; set; }
  33. /// <summary>
  34. /// 目标值
  35. /// </summary>
  36. public string TargetValue { get; set; }
  37. /// <summary>
  38. /// 岗位id
  39. /// </summary>
  40. public int JobId { get; set; }
  41. /// <summary>
  42. /// 员工id
  43. /// </summary>
  44. public int UserId { get; set; }
  45. /// <summary>
  46. /// 固定标识 (1 是固定 2 是灵活)
  47. /// </summary>
  48. public int Fixed { get; set; }
  49. public List<TreeNode> Children { get; set; }
  50. public decimal AssessmentProportion_Percentage { get; set; }
  51. /// <summary>
  52. /// 年月份
  53. /// </summary>
  54. public DateTime YearMonth { get; set; }
  55. /// <summary>
  56. /// 达成情况
  57. /// </summary>
  58. public int Status { get; set; }
  59. /// <summary>
  60. /// 自评
  61. /// </summary>
  62. public decimal SelfAssessment { get; set; }
  63. /// <summary>
  64. /// 上级评分
  65. /// </summary>
  66. public decimal HigherUpAssessment { get; set; }
  67. /// <summary>
  68. /// 该项得分
  69. /// </summary>
  70. public decimal Score { get; set; }
  71. /// <summary>
  72. /// 绩效分
  73. /// </summary>
  74. public decimal ScoreTotal { get; set; }
  75. /// <summary>
  76. /// 上级确认
  77. /// </summary>
  78. public int HigherUpConfig { get; set; }
  79. /// <summary>
  80. /// 上级员工id
  81. /// </summary>
  82. public int HigherUpUserId { get; set; }
  83. /// <summary>
  84. /// 详细信息
  85. /// </summary>
  86. //public string Details { get; set; }
  87. }
  88. public class PerAssessmentSettingOperationDto
  89. {
  90. [Required(ErrorMessage = "项名称不能为空")]
  91. public string Name { get; set; }
  92. public decimal AssessmentProportion { get; set; }
  93. public string AssessmentStandard { get; set; }
  94. public int ParentId { get; set; }
  95. public int Id { get; set; }
  96. public int CreateId { get; set; }
  97. public string Remark { get; set; }
  98. }
  99. public class AssessmentSettingOperationContenDto
  100. {
  101. public int Id { get; set; }
  102. public int CreateUserId { get; set; }
  103. /// <summary>
  104. /// 项目设置表id
  105. /// </summary>
  106. public int AssessmentSettingId { get; set; }
  107. /// <summary>
  108. /// 占比
  109. /// </summary>
  110. public decimal AssessmentProportionChi { get; set; }
  111. /// <summary>
  112. /// 目标值
  113. /// </summary>
  114. public string TargetValue { get; set; }
  115. /// <summary>
  116. /// 岗位id
  117. /// </summary>
  118. public int JobId { get; set; }
  119. /// <summary>
  120. /// 员工id
  121. /// </summary>
  122. public int UserId { get; set; }
  123. /// <summary>
  124. /// 固定标识 (1 是固定 2 是灵活)
  125. /// </summary>
  126. public int Fixed { get; set; }
  127. public string Remark { get; set; }
  128. }
  129. public class QueryAssessmentSettingListOffsetAsyncDto
  130. {
  131. public int pageIndex { get; set; }
  132. public int pageSize { get; set; }
  133. public string SearchValue { get; set; }
  134. }
  135. public class QueryAssessmentByUser
  136. {
  137. public int UserId { get; set; }
  138. public string Start { get; set; }
  139. public string End { get; set; }
  140. }
  141. }