MinorGraduationConditionView.cs 1.9 KB

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