DegreeConditionView.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.DegreeManage.DegreeSetting
  8. {
  9. public class DegreeConditionView
  10. {
  11. /// <summary>
  12. /// 学位条件ID
  13. /// </summary>
  14. [DisplayName("学位条件ID")]
  15. public Guid DegreeConditionID { get; set; }
  16. /// <summary>
  17. /// 序号
  18. /// </summary>
  19. [Required]
  20. [DisplayName("序号")]
  21. public int? OrderNo { get; set; }
  22. /// <summary>
  23. /// 条件名称
  24. /// </summary>
  25. [Required]
  26. [DisplayName("条件名称")]
  27. public string Title { get; set; }
  28. /// <summary>
  29. /// 计算方法
  30. /// </summary>
  31. [DisplayName("计算方法")]
  32. public string MethodFullName { get; set; }
  33. /// <summary>
  34. /// 启用状态
  35. /// </summary>
  36. [DisplayName("启用状态")]
  37. public bool IsEnable { get; set; }
  38. /// <summary>
  39. /// 启用状态
  40. /// </summary>
  41. [DisplayName("启用状态")]
  42. public string IsEnableName
  43. {
  44. get
  45. {
  46. return IsEnable ? "是" : "否";
  47. }
  48. }
  49. /// <summary>
  50. /// 启用状态
  51. /// </summary>
  52. [DisplayName("启用状态")]
  53. public int? RecordStatus { get; set; }
  54. /// <summary>
  55. /// 创建人
  56. /// </summary>
  57. [DisplayName("创建人")]
  58. public Guid? CreateUserID { get; set; }
  59. /// <summary>
  60. /// 创建时间
  61. /// </summary>
  62. [DisplayName("创建时间")]
  63. public DateTime? CreateTime { get; set; }
  64. /// <summary>
  65. /// 修改人
  66. /// </summary>
  67. [DisplayName("修改人")]
  68. public Guid? ModifyUserID { get; set; }
  69. /// <summary>
  70. /// 修改时间
  71. /// </summary>
  72. [DisplayName("修改时间")]
  73. public DateTime? ModifyTime { get; set; }
  74. }
  75. }