平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserOutPut.cs 5.5 KiB

4 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 选择用户输出参数
  6. /// </summary>
  7. public class UserSelectorOutPut
  8. {
  9. /// <summary>
  10. /// Id
  11. /// </summary>
  12. public long Id { get; set; }
  13. /// <summary>
  14. /// 组织ID
  15. /// </summary>
  16. public long OrgId { get; set; }
  17. /// <summary>
  18. /// 账号
  19. /// </summary>
  20. public string Account { get; set; }
  21. /// <summary>
  22. /// 姓名
  23. /// </summary>
  24. public string Name { get; set; }
  25. /// <summary>
  26. /// 性别
  27. ///</summary>
  28. public string Gender { get; set; }
  29. }
  30. /// <summary>
  31. /// 用户信息输出
  32. /// </summary>
  33. public class UserInfoOutPut : SysUser
  34. {
  35. }
  36. /// <summary>
  37. /// 用户信息
  38. /// </summary>
  39. [ExcelExporter(Name = "用户信息", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
  40. public class SysUserExportOutput
  41. {
  42. /// <summary>
  43. /// 账号
  44. ///</summary>
  45. [ExporterHeader(DisplayName = "账号")]
  46. public virtual string Account { get; set; }
  47. /// <summary>
  48. /// 姓名
  49. ///</summary>
  50. [ExporterHeader(DisplayName = "姓名")]
  51. public virtual string Name { get; set; }
  52. /// <summary>
  53. /// 昵称
  54. ///</summary>
  55. [ExporterHeader(DisplayName = "昵称")]
  56. public string Nickname { get; set; }
  57. /// <summary>
  58. /// 性别
  59. ///</summary>
  60. [ExporterHeader(DisplayName = "性别")]
  61. public string Gender { get; set; }
  62. /// <summary>
  63. /// 手机
  64. /// 这里使用了SM4自动加密解密
  65. ///</summary>
  66. [ExporterHeader(DisplayName = "手机号")]
  67. public string Phone { get; set; }
  68. /// <summary>
  69. /// 邮箱
  70. ///</summary>
  71. [ExporterHeader(DisplayName = "邮箱")]
  72. public string Email { get; set; }
  73. /// <summary>
  74. /// 所属机构
  75. /// </summary>
  76. [ExporterHeader(DisplayName = "所属机构(子机构用/隔开)")]
  77. public string OrgNames { get; set; }
  78. /// <summary>
  79. /// 职位
  80. /// </summary>
  81. [ExporterHeader(DisplayName = "职位")]
  82. public string PositionName { get; set; }
  83. /// <summary>
  84. /// 出生日期
  85. ///</summary>
  86. [ExporterHeader(DisplayName = "出生日期")]
  87. public string Birthday { get; set; }
  88. /// <summary>
  89. /// 民族
  90. ///</summary>
  91. [ExporterHeader(DisplayName = "民族")]
  92. public string Nation { get; set; }
  93. /// <summary>
  94. /// 籍贯
  95. ///</summary>
  96. [ExporterHeader(DisplayName = "籍贯")]
  97. public string NativePlace { get; set; }
  98. /// <summary>
  99. /// 家庭住址
  100. ///</summary>
  101. [ExporterHeader(DisplayName = "家庭住址")]
  102. public string HomeAddress { get; set; }
  103. /// <summary>
  104. /// 通信地址
  105. ///</summary>
  106. [ExporterHeader(DisplayName = "通信地址")]
  107. public string MailingAddress { get; set; }
  108. /// <summary>
  109. /// 证件类型
  110. ///</summary>
  111. [ExporterHeader(DisplayName = "证件类型")]
  112. public string IdCardType { get; set; }
  113. /// <summary>
  114. /// 证件号码
  115. ///</summary>
  116. [ExporterHeader(DisplayName = "证件号码")]
  117. public string IdCardNumber { get; set; }
  118. /// <summary>
  119. /// 文化程度
  120. ///</summary>
  121. [ExporterHeader(DisplayName = "文化程度")]
  122. public string CultureLevel { get; set; }
  123. /// <summary>
  124. /// 政治面貌
  125. ///</summary>
  126. [ExporterHeader(DisplayName = "政治面貌")]
  127. public string PoliticalOutlook { get; set; }
  128. /// <summary>
  129. /// 毕业院校
  130. ///</summary>
  131. [ExporterHeader(DisplayName = "毕业院校")]
  132. public string College { get; set; }
  133. /// <summary>
  134. /// 学历
  135. ///</summary>
  136. [ExporterHeader(DisplayName = "学历")]
  137. public string Education { get; set; }
  138. /// <summary>
  139. /// 学制
  140. ///</summary>
  141. [ExporterHeader(DisplayName = "学制")]
  142. public string EduLength { get; set; }
  143. /// <summary>
  144. /// 学位
  145. ///</summary>
  146. [ExporterHeader(DisplayName = "学位")]
  147. public string Degree { get; set; }
  148. /// <summary>
  149. /// 家庭电话
  150. ///</summary>
  151. [ExporterHeader(DisplayName = "家庭电话")]
  152. public string HomeTel { get; set; }
  153. /// <summary>
  154. /// 办公电话
  155. ///</summary>
  156. [ExporterHeader(DisplayName = "办公电话")]
  157. public string OfficeTel { get; set; }
  158. /// <summary>
  159. /// 紧急联系人
  160. ///</summary>
  161. [ExporterHeader(DisplayName = "紧急联系人")]
  162. public string EmergencyContact { get; set; }
  163. /// <summary>
  164. /// 紧急联系人电话
  165. ///</summary>
  166. [ExporterHeader(DisplayName = "紧急联系人电话")]
  167. public string EmergencyPhone { get; set; }
  168. /// <summary>
  169. /// 紧急联系人地址
  170. ///</summary>
  171. [ExporterHeader(DisplayName = "紧急联系人地址")]
  172. public string EmergencyAddress { get; set; }
  173. /// <summary>
  174. /// 员工编号
  175. ///</summary>
  176. [ExporterHeader(DisplayName = "员工编号")]
  177. public string EmpNo { get; set; }
  178. /// <summary>
  179. /// 入职日期
  180. ///</summary>
  181. [ExporterHeader(DisplayName = "入职日期")]
  182. public string EntryDate { get; set; }
  183. /// <summary>
  184. /// 职级
  185. ///</summary>
  186. [ExporterHeader(DisplayName = "职级")]
  187. public string PositionLevel { get; set; }
  188. }
  189. public class RoleSelectorOutPut
  190. {
  191. /// <summary>
  192. /// Id
  193. /// </summary>
  194. public long Id { get; set; }
  195. /// <summary>
  196. /// 组织ID
  197. /// </summary>
  198. public long OrgId { get; set; }
  199. /// <summary>
  200. /// 角色名称
  201. /// </summary>
  202. public string Name { get; set; }
  203. /// <summary>
  204. /// 角色编码
  205. /// </summary>
  206. public string Code { get; set; }
  207. }