EvaluationTypeView.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 EvaluationTypeView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? TypeID { 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 bool IsStudent { get; set; }
  34. /// <summary>
  35. /// 是否适用学生
  36. /// </summary>
  37. [DisplayName("适用学生")]
  38. public string Student { get; set; }
  39. /// <summary>
  40. /// 是否默认类型
  41. /// </summary>
  42. [Required]
  43. [DisplayName("是否默认")]
  44. public bool IsDefault { get; set; }
  45. /// <summary>
  46. /// 是否默认类型
  47. /// </summary>
  48. [DisplayName("是否默认")]
  49. public string Default { get; set; }
  50. /// <summary>
  51. /// 开始时间
  52. /// </summary>
  53. [Required]
  54. [DisplayName("开始时间")]
  55. public DateTime? StartTime { get; set; }
  56. /// <summary>
  57. /// 结束时间
  58. /// </summary>
  59. [Required]
  60. [DisplayName("结束时间")]
  61. public DateTime? EndTime { get; set; }
  62. /// <summary>
  63. /// 可评次数
  64. /// </summary>
  65. [Required]
  66. [DisplayName("可评次数")]
  67. public int? Number { 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. }