28fddde22dc9995057e714011eb70b6132271e56.svn-base 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package org.jeecg.common.system.vo;
  2. import java.util.Date;
  3. import org.springframework.format.annotation.DateTimeFormat;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import lombok.experimental.Accessors;
  8. /**
  9. * <p>
  10. * 在线用户信息
  11. * </p>
  12. *
  13. * @Author scott
  14. * @since 2018-12-20
  15. */
  16. @Data
  17. @EqualsAndHashCode(callSuper = false)
  18. @Accessors(chain = true)
  19. public class LoginUser {
  20. /**
  21. * 登录人id
  22. */
  23. private String id;
  24. /**
  25. * 登录人账号
  26. */
  27. private String username;
  28. /**
  29. * 登录人名字
  30. */
  31. private String realname;
  32. /**
  33. * 登录人密码
  34. */
  35. private String password;
  36. /**
  37. * 当前登录部门code
  38. */
  39. private String orgCode;
  40. /**
  41. * 头像
  42. */
  43. private String avatar;
  44. /**
  45. * 生日
  46. */
  47. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  48. @DateTimeFormat(pattern = "yyyy-MM-dd")
  49. private Date birthday;
  50. /**
  51. * 性别(1:男 2:女)
  52. */
  53. private Integer sex;
  54. /**
  55. * 电子邮件
  56. */
  57. private String email;
  58. /**
  59. * 电话
  60. */
  61. private String phone;
  62. /**
  63. * 状态(1:正常 2:冻结 )
  64. */
  65. private Integer status;
  66. private Integer delFlag;
  67. /**
  68. * 同步工作流引擎1同步0不同步
  69. */
  70. private Integer activitiSync;
  71. /**
  72. * 创建时间
  73. */
  74. private Date createTime;
  75. /**
  76. * 身份(1 普通员工 2 上级)
  77. */
  78. private Integer userIdentity;
  79. /**
  80. * 管理部门ids
  81. */
  82. private String departIds;
  83. /**
  84. * 职务,关联职务表
  85. */
  86. private String post;
  87. /**
  88. * 座机号
  89. */
  90. private String telephone;
  91. /**多租户id配置,编辑用户的时候设置*/
  92. private String relTenantIds;
  93. /**设备id uniapp推送用*/
  94. private String clientId;
  95. }