qfrjava
2025-03-05 7c5e7f63d981d8c4515f5c6a73f9b39cca02b7f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package com.smtaiserver.smtaiserver.vo;
 
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Setter;
 
@XmlRootElement(name = "xml")
public class WechatMessageVO {
  /** 接收方帐号(收到的OpenID) */
  @XmlElement(name = "ToUserName")
  private String toUserName;
 
  /** 开发者微信号 */
  @XmlElement(name = "FromUserName")
  private String fromUserName;
 
  /** 消息创建时间 (整型) */
  @XmlElement(name = "CreateTime")
  private long createTime;
 
  /** 消息类型 */
  @XmlElement(name = "MsgType")
  private String msgType;
 
  /** 消息类型 */
  @XmlElement(name = "Content")
  private String content;
 
  /** 图片消息 */
  @XmlElement(name = "Image")
  private MediaVo image;
 
  /** 音频 */
  @XmlElement(name = "Voice")
  private MediaVo voice;
 
  /** 视频 */
  @XmlElement(name = "Video")
  private MediaVo video;
 
  /** 音乐 */
  @XmlElement(name = "Music")
  private MediaVo music;
 
  /** 图文 */
  @XmlElement(name = "Articles")
  private MediaVo articles;
 
  public String getToUserName() {
    return toUserName;
  }
 
  public void setToUserName(String toUserName) {
    this.toUserName = toUserName;
  }
 
  public String getFromUserName() {
    return fromUserName;
  }
 
  public void setFromUserName(String fromUserName) {
    this.fromUserName = fromUserName;
  }
 
  public long getCreateTime() {
    return createTime;
  }
 
  public void setCreateTime(long createTime) {
    this.createTime = createTime;
  }
 
  public String getMsgType() {
    return msgType;
  }
 
  public void setMsgType(String msgType) {
    this.msgType = msgType;
  }
 
  public String getContent() {
    return content;
  }
 
  public void setContent(String content) {
    this.content = content;
  }
 
  public MediaVo getImage() {
    return image;
  }
 
  public void setImage(MediaVo image) {
    this.image = image;
  }
 
  public MediaVo getVoice() {
    return voice;
  }
 
  public void setVoice(MediaVo voice) {
    this.voice = voice;
  }
 
  public MediaVo getVideo() {
    return video;
  }
 
  public void setVideo(MediaVo video) {
    this.video = video;
  }
 
  public MediaVo getMusic() {
    return music;
  }
 
  public void setMusic(MediaVo music) {
    this.music = music;
  }
 
  public MediaVo getArticles() {
    return articles;
  }
 
  public void setArticles(MediaVo articles) {
    this.articles = articles;
  }
}