EvaluationProjectView.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.EvaluationManage
  8. {
  9. public class EvaluationProjectView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? ProjectID { get; set; }
  16. /// <summary>
  17. /// 项目编号
  18. /// </summary>
  19. [Required]
  20. [DisplayName("项目编号")]
  21. public string Code { get; set; }
  22. /// <summary>
  23. /// 项目名称
  24. /// </summary>
  25. [Required]
  26. [DisplayName("项目名称")]
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// 次序
  30. /// </summary>
  31. [Required]
  32. [DisplayName("次序")]
  33. public int? OrderID { get; set; }
  34. /// <summary>
  35. /// 项目权重
  36. /// </summary>
  37. [Required]
  38. //[Range(0, 100)]
  39. [DisplayName("项目权重")]
  40. public decimal? Weight { get; set; }
  41. /// <summary>
  42. /// 指标权重
  43. /// </summary>
  44. [Required]
  45. //[Range(0, 100)]
  46. [DisplayName("指标权重")]
  47. public decimal? TargetWeight { get; set; }
  48. /// <summary>
  49. /// 评价指标
  50. /// </summary>
  51. [Required]
  52. [DisplayName("评价指标")]
  53. public Guid? TargetID { get; set; }
  54. /// <summary>
  55. /// 指标编号
  56. /// </summary>
  57. [Required]
  58. [DisplayName("指标编号")]
  59. public string TargetCode { get; set; }
  60. /// <summary>
  61. /// 指标名称
  62. /// </summary>
  63. [Required]
  64. [DisplayName("指标名称")]
  65. public string TargetName { get; set; }
  66. /// <summary>
  67. /// 评分标准
  68. /// </summary>
  69. [Required]
  70. [DisplayName("评分标准")]
  71. public Guid? NormID { get; set; }
  72. /// <summary>
  73. /// 评分标准
  74. /// </summary>
  75. [DisplayName("评分标准")]
  76. public string NormName { get; set; }
  77. /// <summary>
  78. /// 评价表名
  79. /// </summary>
  80. [Required]
  81. [DisplayName("评价表名")]
  82. public Guid? TableID { get; set; }
  83. /// <summary>
  84. /// 评价表编号
  85. /// </summary>
  86. [DisplayName("评价表编号")]
  87. public string TableCode { get; set; }
  88. /// <summary>
  89. /// 评价表名
  90. /// </summary>
  91. [DisplayName("评价表名")]
  92. public string TableName { get; set; }
  93. /// <summary>
  94. /// 备注
  95. /// </summary>
  96. [DisplayName("备注")]
  97. public string Remark { get; set; }
  98. /// <summary>
  99. /// 创建人
  100. /// </summary>
  101. [DisplayName("创建人")]
  102. public Guid? CreateUserID { get; set; }
  103. /// <summary>
  104. /// 创建时间
  105. /// </summary>
  106. [DisplayName("创建时间")]
  107. public DateTime? CreateTime { get; set; }
  108. /// <summary>
  109. /// 更新人
  110. /// </summary>
  111. [DisplayName("更新人")]
  112. public Guid? ModifyUserID { get; set; }
  113. /// <summary>
  114. /// 更新时间
  115. /// </summary>
  116. [DisplayName("更新时间")]
  117. public DateTime? ModifyTime { get; set; }
  118. }
  119. }