1
0

CustomServiceMessage.java 840 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.izouma.awesomeadmin.dto.wx;
  2. import com.fasterxml.jackson.annotation.JsonAutoDetect;
  3. import com.fasterxml.jackson.annotation.JsonInclude;
  4. @JsonAutoDetect
  5. @JsonInclude(JsonInclude.Include.NON_NULL)
  6. public class CustomServiceMessage {
  7. private String touser;
  8. private String msgtype;
  9. private TextMessage text;
  10. private NewsMessage news;
  11. public String getTouser() {
  12. return touser;
  13. }
  14. public NewsMessage getNews() {
  15. return news;
  16. }
  17. public void setNews(NewsMessage news) {
  18. this.news = news;
  19. }
  20. public void setTouser(String touser) {
  21. this.touser = touser;
  22. }
  23. public String getMsgtype() {
  24. return msgtype;
  25. }
  26. public void setMsgtype(String msgtype) {
  27. this.msgtype = msgtype;
  28. }
  29. public TextMessage getText() {
  30. return text;
  31. }
  32. public void setText(TextMessage text) {
  33. this.text = text;
  34. }
  35. }