32106255a44e9fc9a78e6bdce118957b5bcbce21.svn-base 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package org.jeecg.modules.system.vo;
  2. import java.util.Date;
  3. import org.jeecg.common.aspect.annotation.Dict;
  4. import org.springframework.format.annotation.DateTimeFormat;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import lombok.Data;
  7. /**
  8. *
  9. * @Author: chenli
  10. * @Date: 2020-06-07
  11. * @Version: V1.0
  12. */
  13. @Data
  14. public class SysUserOnlineVO {
  15. /**
  16. * 会话id
  17. */
  18. private String id;
  19. /**
  20. * 会话编号
  21. */
  22. private String token;
  23. /**
  24. * 用户名
  25. */
  26. private String username;
  27. /**
  28. * 用户名
  29. */
  30. private String realname;
  31. /**
  32. * 头像
  33. */
  34. private String avatar;
  35. /**
  36. * 生日
  37. */
  38. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  39. @DateTimeFormat(pattern = "yyyy-MM-dd")
  40. private Date birthday;
  41. /**
  42. * 性别(1:男 2:女)
  43. */
  44. @Dict(dicCode = "sex")
  45. private Integer sex;
  46. /**
  47. * 手机号
  48. */
  49. private String phone;
  50. }