1 package com.foxinmy.weixin4j.mp.event;
2
3 import javax.xml.bind.annotation.XmlElement;
4
5 import com.foxinmy.weixin4j.message.event.EventMessage;
6 import com.foxinmy.weixin4j.type.EventType;
7
8
9
10
11
12
13
14
15
16
17
18 public class KfSwitchEventMessage extends EventMessage {
19
20 private static final long serialVersionUID = 4319501074109623413L;
21
22 public KfSwitchEventMessage() {
23 super(EventType.kf_switch_session.name());
24 }
25
26
27
28
29 @XmlElement(name = "FromKfAccount")
30 private String fromKfAccount;
31
32
33
34 @XmlElement(name = "ToKfAccount")
35 private String toKfAccount;
36
37 public String getFromKfAccount() {
38 return fromKfAccount;
39 }
40
41 public String getToKfAccount() {
42 return toKfAccount;
43 }
44
45 @Override
46 public String toString() {
47 return "KfSwitchEventMessage [fromKfAccount=" + fromKfAccount
48 + ", toKfAccount=" + toKfAccount + "]";
49 }
50 }