abba5426e64d331013dd45ee75e3d06655ea56a6.svn-base 976 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package org.jeecg.modules.system.vo;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import org.jeecg.common.aspect.annotation.Dict;
  5. import org.springframework.format.annotation.DateTimeFormat;
  6. import java.util.Date;
  7. /**
  8. *
  9. * @Author: chenli
  10. * @Date: 2020-06-07
  11. * @Version: V1.0
  12. */
  13. @Data
  14. public class SysOnlineVO {
  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. }