平安校园
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

255 строки
5.5 KiB

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