ChangeTypeSettingView.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. namespace EMIS.ViewModel.StudentManage.StudentChange
  7. {
  8. public class ChangeTypeSettingView
  9. {
  10. /// <summary>
  11. /// 主键ID
  12. /// </summary>
  13. [DisplayName("主键ID")]
  14. public Guid ChangeTypeInOutSettingID { get; set; }
  15. /// <summary>
  16. /// 类型代码
  17. /// </summary>
  18. [DisplayName("类型代码")]
  19. public int? ChangeTypeID { get; set; }
  20. /// <summary>
  21. /// 异动类型
  22. /// </summary>
  23. [DisplayName("异动类型")]
  24. public string ChangeTypeName { get; set; }
  25. /// <summary>
  26. /// 是否转入
  27. /// </summary>
  28. [DisplayName("是否转入")]
  29. public bool? IsIn { get; set; }
  30. /// <summary>
  31. /// 是否转入
  32. /// </summary>
  33. [DisplayName("是否转入")]
  34. public string IsInName
  35. {
  36. get
  37. {
  38. return IsIn == true ? "是" : "否";
  39. }
  40. }
  41. /// <summary>
  42. /// 是否转出
  43. /// </summary>
  44. [DisplayName("是否转出")]
  45. public bool? IsOut { get; set; }
  46. /// <summary>
  47. /// 是否转出
  48. /// </summary>
  49. [DisplayName("是否转出")]
  50. public string IsOutName
  51. {
  52. get
  53. {
  54. return IsOut == true ? "是" : "否";
  55. }
  56. }
  57. /// <summary>
  58. /// 是否显示
  59. /// </summary>
  60. [DisplayName("是否显示")]
  61. public bool IsDisplay { get; set; }
  62. /// <summary>
  63. /// 是否显示
  64. /// </summary>
  65. [DisplayName("是否显示")]
  66. public string IsDisplayName
  67. {
  68. get
  69. {
  70. return IsDisplay == true ? "是" : "否";
  71. }
  72. }
  73. /// <summary>
  74. /// 状态
  75. /// </summary>
  76. [DisplayName("状态")]
  77. public int? RecordStatus { get; set; }
  78. /// <summary>
  79. /// 创建人
  80. /// </summary>
  81. [DisplayName("创建人")]
  82. public Guid? CreateUserID { get; set; }
  83. /// <summary>
  84. /// 创建人
  85. /// </summary>
  86. [DisplayName("创建人")]
  87. public string CreateUserName { get; set; }
  88. /// <summary>
  89. /// 创建时间
  90. /// </summary>
  91. [DisplayName("创建时间")]
  92. public DateTime? CreateTime { get; set; }
  93. /// <summary>
  94. /// 修改人
  95. /// </summary>
  96. [DisplayName("修改人")]
  97. public Guid? ModifyUserID { get; set; }
  98. /// <summary>
  99. /// 修改人
  100. /// </summary>
  101. [DisplayName("修改人")]
  102. public string ModifyUserName { get; set; }
  103. /// <summary>
  104. /// 修改时间
  105. /// </summary>
  106. [DisplayName("修改时间")]
  107. public DateTime? ModifyTime { get; set; }
  108. }
  109. }