EvaluationTargetView.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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 EvaluationTargetView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? TargetID { 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, int.MaxValue, ErrorMessage = "指标权重 必须大于等于0")]
  39. [DisplayName("指标权重")]
  40. public decimal? Weight { get; set; }
  41. /// <summary>
  42. /// 评分标准
  43. /// </summary>
  44. [Required]
  45. [DisplayName("评分标准")]
  46. public Guid? NormID { get; set; }
  47. /// <summary>
  48. /// 评分标准
  49. /// </summary>
  50. [DisplayName("评分标准")]
  51. public string NormName { get; set; }
  52. /// <summary>
  53. /// 评价表名
  54. /// </summary>
  55. [DisplayName("评价表名")]
  56. [Required]
  57. public Guid? TableID { get; set; }
  58. /// <summary>
  59. /// 评价表名
  60. /// </summary>
  61. [DisplayName("评价表名")]
  62. public string TableName { get; set; }
  63. /// <summary>
  64. /// 评价表编号
  65. /// </summary>
  66. [DisplayName("评价表编号")]
  67. public string TableCode { get; set; }
  68. /// <summary>
  69. /// 备注
  70. /// </summary>
  71. [DisplayName("备注")]
  72. public string Remark { get; set; }
  73. /// <summary>
  74. /// 创建人
  75. /// </summary>
  76. [DisplayName("创建人")]
  77. public Guid? CreateUserID { get; set; }
  78. /// <summary>
  79. /// 创建时间
  80. /// </summary>
  81. [DisplayName("创建时间")]
  82. public DateTime? CreateTime { get; set; }
  83. /// <summary>
  84. /// 更新人
  85. /// </summary>
  86. [DisplayName("更新人")]
  87. public Guid? ModifyUserID { get; set; }
  88. /// <summary>
  89. /// 更新时间
  90. /// </summary>
  91. [DisplayName("更新时间")]
  92. public DateTime? ModifyTime { get; set; }
  93. }
  94. }