JPushVO.java 1014 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.ruoyi.common.utils.jPush;
  2. /**
  3. * 极光拓展字段不能传输object,限制了类型,所以封装更好些
  4. * 此类为极光推送拓展字段封装类(目前字段是暂定,你也可以拓展)
  5. *
  6. * @author juzi
  7. * @date 2022-12-2
  8. */
  9. public class JPushVO {
  10. private Long id;
  11. private String userName;
  12. private String content;
  13. public Long getId() {
  14. return id;
  15. }
  16. public void setId(Long id) {
  17. this.id = id;
  18. }
  19. public String getUserName() {
  20. return userName;
  21. }
  22. public void setUserName(String userName) {
  23. this.userName = userName;
  24. }
  25. public String getContent() {
  26. return content;
  27. }
  28. public void setContent(String content) {
  29. this.content = content;
  30. }
  31. @Override
  32. public String toString() {
  33. return "JPushVO{" +
  34. "id=" + id +
  35. ", userName='" + userName + '\'' +
  36. ", content='" + content + '\'' +
  37. '}';
  38. }
  39. }