EvaluationTableView.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. using System.Web.Mvc;
  8. namespace EMIS.ViewModel.EvaluationManage
  9. {
  10. public class EvaluationTableView
  11. {
  12. /// <summary>
  13. /// 主键ID
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid? TableID { get; set; }
  17. /// <summary>
  18. /// 编号
  19. /// </summary>
  20. [Required]
  21. [DisplayName("编号")]
  22. public string Code { get; set; }
  23. /// <summary>
  24. /// 评价表名
  25. /// </summary>
  26. [Required]
  27. [DisplayName("评价表名")]
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// 评价类型
  31. /// </summary>
  32. [Required]
  33. [DisplayName("评价类型")]
  34. public int? IntType { get; set; }
  35. /// <summary>
  36. /// 评价类型ID
  37. /// </summary>
  38. [Required]
  39. [DisplayName("评价类型ID")]
  40. public Guid? EvaluationIntTypeID { get; set; }
  41. /// <summary>
  42. /// 评价类型
  43. /// </summary>
  44. [DisplayName("评价类型")]
  45. public string EvaluationIntTypeName { get; set; }
  46. /// <summary>
  47. /// 评价类型
  48. /// </summary>
  49. [DisplayName("评价类型")]
  50. public string Type { get; set; }
  51. /// <summary>
  52. /// 参评类型
  53. /// </summary>
  54. [Required]
  55. [DisplayName("参评类型")]
  56. public Guid? TypeID { get; set; }
  57. /// <summary>
  58. /// 参评类型
  59. /// </summary>
  60. [DisplayName("参评类型")]
  61. public string EvaluationType { get; set; }
  62. /// <summary>
  63. /// 评价权重
  64. /// </summary>
  65. [Required]
  66. //[Range(0, int.MaxValue, ErrorMessage = "评价权重 必须大于等于0")]
  67. [DisplayName("评价权重")]
  68. public int? Weight { get; set; }
  69. /// <summary>
  70. /// 是否启用
  71. /// </summary>
  72. [Required]
  73. [DisplayName("是否启用")]
  74. public int? IsEnabled { get; set; }
  75. /// <summary>
  76. /// 是否启用
  77. /// </summary>
  78. [DisplayName("是否启用")]
  79. public string IsEnabledName { get; set; }
  80. /// <summary>
  81. /// 备注
  82. /// </summary>
  83. [DisplayName("备注")]
  84. public string Remark { get; set; }
  85. /// <summary>
  86. /// 创建人
  87. /// </summary>
  88. [DisplayName("创建人")]
  89. public Guid? CreateUserID { get; set; }
  90. /// <summary>
  91. /// 创建时间
  92. /// </summary>
  93. [DisplayName("创建时间")]
  94. public DateTime? CreateTime { get; set; }
  95. /// <summary>
  96. /// 更新人
  97. /// </summary>
  98. [DisplayName("更新人")]
  99. public Guid? ModifyUserID { get; set; }
  100. /// <summary>
  101. /// 更新时间
  102. /// </summary>
  103. [DisplayName("更新时间")]
  104. public DateTime? ModifyTime { get; set; }
  105. }
  106. }