DegreeOpenControlView.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using EMIS.ViewModel.CacheManage;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. namespace EMIS.ViewModel.DegreeManage.DegreeSetting
  9. {
  10. public class DegreeOpenControlView
  11. {
  12. /// <summary>
  13. /// 学位控制主键ID
  14. /// </summary>
  15. [DisplayName("学位控制主键ID")]
  16. public Guid DegreeOpenControlID { get; set; }
  17. /// <summary>
  18. /// 毕业学期ID
  19. /// </summary>
  20. [Required]
  21. [DisplayName("毕业学期ID")]
  22. public Guid? GraduatingSemesterID { get; set; }
  23. /// <summary>
  24. /// 学年学期Value
  25. /// </summary>
  26. [DisplayName("学年学期Value")]
  27. public int? GraduatingSemesterValue { get; set; }
  28. /// <summary>
  29. /// 毕业学期
  30. /// </summary>
  31. [DisplayName("毕业学期")]
  32. public string GraduatingSemesterCode { get; set; }
  33. /// <summary>
  34. /// 学位批次
  35. /// </summary>
  36. [Required]
  37. [DisplayName("学位批次")]
  38. public int? DegreeBatchID { get; set; }
  39. /// <summary>
  40. /// 学位批次
  41. /// </summary>
  42. [DisplayName("学位批次")]
  43. public string DegreeBatchName
  44. {
  45. get
  46. {
  47. return IdNameExt.GetDictionaryItem(DictionaryItem.ER_DegreeBatch.ToString()).Where(x => x.Value == DegreeBatchID).Select(x => x.Name).FirstOrDefault();
  48. }
  49. }
  50. /// <summary>
  51. /// 开始时间
  52. /// </summary>
  53. [Required]
  54. [DisplayName("开始时间")]
  55. public DateTime? StartDate { get; set; }
  56. /// <summary>
  57. /// 结束时间
  58. /// </summary>
  59. [Required]
  60. [DisplayName("结束时间")]
  61. public DateTime? EndDate { get; set; }
  62. /// <summary>
  63. /// 状态
  64. /// </summary>
  65. [DisplayName("状态")]
  66. public int? RecordStatus { get; set; }
  67. /// <summary>
  68. /// 创建人
  69. /// </summary>
  70. [DisplayName("创建人")]
  71. public Guid? CreateUserID { get; set; }
  72. /// <summary>
  73. /// 创建时间
  74. /// </summary>
  75. [DisplayName("创建时间")]
  76. public DateTime? CreateTime { get; set; }
  77. /// <summary>
  78. /// 修改人
  79. /// </summary>
  80. [DisplayName("修改人")]
  81. public Guid? ModifyUserID { get; set; }
  82. /// <summary>
  83. /// 修改时间
  84. /// </summary>
  85. [DisplayName("修改时间")]
  86. public DateTime? ModifyTime { get; set; }
  87. }
  88. }