1 package com.foxinmy.weixin4j.mp.message;
2
3 import java.io.Serializable;
4
5 import com.foxinmy.weixin4j.tuple.NotifyTuple;
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 public class NotifyMessage implements Serializable {
23
24 private static final long serialVersionUID = 7190233634431087729L;
25
26
27
28
29 private String touser;
30
31
32
33 private NotifyTuple tuple;
34
35 public NotifyMessage(String touser, NotifyTuple tuple) {
36 this.touser = touser;
37 this.tuple = tuple;
38 }
39
40 public String getTouser() {
41 return touser;
42 }
43
44 public NotifyTuple getTuple() {
45 return tuple;
46 }
47
48 @Override
49 public String toString() {
50 return "NotifyMessage [touser=" + touser + ", tuple=" + tuple + "]";
51 }
52 }