8e3957318e9afde0528d19cbe3d8ef075d9a7a4f.svn-base 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. package org.jeecg.modules.demo.hzz.shjsgc.engineeringpush.vo;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.fasterxml.jackson.annotation.JsonProperty;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import lombok.experimental.Accessors;
  10. import org.jeecg.common.aspect.annotation.Dict;
  11. import org.jeecgframework.poi.excel.annotation.Excel;
  12. import org.springframework.format.annotation.DateTimeFormat;
  13. import java.io.Serializable;
  14. import java.util.Date;
  15. /**
  16. * <p>
  17. * 用户表
  18. * </p>
  19. *
  20. * @Author scott
  21. * @since 2018-12-20
  22. */
  23. @Data
  24. @EqualsAndHashCode(callSuper = false)
  25. @Accessors(chain = true)
  26. public class SysUserVo implements Serializable {
  27. private static final long serialVersionUID = 1L;
  28. /**
  29. * id
  30. */
  31. @TableId(type = IdType.ASSIGN_ID)
  32. private String id;
  33. /**
  34. * 登录账号
  35. */
  36. @Excel(name = "登录账号", width = 15)
  37. private String username;
  38. /**
  39. * 真实姓名
  40. */
  41. @Excel(name = "真实姓名", width = 15)
  42. private String realname;
  43. /**
  44. * 密码
  45. */
  46. @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
  47. private String password;
  48. /**
  49. * md5密码盐
  50. */
  51. @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
  52. private String salt;
  53. /**
  54. * 头像
  55. */
  56. @Excel(name = "头像", width = 15,type = 2)
  57. private String avatar;
  58. /**
  59. * 生日
  60. */
  61. @Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
  62. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  63. @DateTimeFormat(pattern = "yyyy-MM-dd")
  64. private Date birthday;
  65. /**
  66. * 性别(1:男 2:女)
  67. */
  68. @Excel(name = "性别", width = 15,dicCode="sex")
  69. @Dict(dicCode = "sex")
  70. private Integer sex;
  71. /**
  72. * 电子邮件
  73. */
  74. @Excel(name = "电子邮件", width = 15)
  75. private String email;
  76. /**
  77. * 电话
  78. */
  79. @Excel(name = "电话", width = 15)
  80. private String phone;
  81. /**
  82. * 部门code(当前选择登录部门)
  83. */
  84. private String orgCode;
  85. /**部门名称*/
  86. private transient String orgCodeTxt;
  87. /**
  88. * 状态(1:正常 2:冻结 )
  89. */
  90. @Excel(name = "状态", width = 15,dicCode="user_status")
  91. @Dict(dicCode = "user_status")
  92. private Integer status;
  93. /**
  94. * 删除状态(0,正常,1已删除)
  95. */
  96. @Excel(name = "删除状态", width = 15,dicCode="del_flag")
  97. @TableLogic
  98. private Integer delFlag;
  99. /**
  100. * 工号,唯一键
  101. */
  102. // @Excel(name = "工号", width = 15)
  103. private String workNo;
  104. /**
  105. * 职务,关联职务表
  106. */
  107. @Excel(name = "职务", width = 15)
  108. @Dict(dictTable ="sys_position",dicText = "name",dicCode = "code")
  109. private String post;
  110. /**
  111. * 座机号
  112. */
  113. @Excel(name = "座机号", width = 15)
  114. private String telephone;
  115. /**
  116. * 创建人
  117. */
  118. private String createBy;
  119. /**
  120. * 创建时间
  121. */
  122. private Date createTime;
  123. /**
  124. * 更新人
  125. */
  126. private String updateBy;
  127. /**
  128. * 更新时间
  129. */
  130. private Date updateTime;
  131. /**
  132. * 同步工作流引擎1同步0不同步
  133. */
  134. private Integer activitiSync;
  135. /**
  136. * 身份(0 普通成员 1 上级)
  137. */
  138. @Excel(name="(1普通成员 2上级)",width = 15)
  139. private Integer userIdentity;
  140. /**
  141. * 负责部门
  142. */
  143. @Excel(name="负责部门",width = 15,dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
  144. @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
  145. private String departIds;
  146. /**
  147. * 多租户id配置,编辑用户的时候设置
  148. */
  149. private String relTenantIds;
  150. /**设备id uniapp推送用*/
  151. private String clientId;
  152. /**行政区划*/
  153. private String xzqh;
  154. }