1 package com.zone.weixin4j.qy.event;
2
3 import com.zone.weixin4j.message.event.EventMessage;
4 import com.zone.weixin4j.type.EventType;
5
6 import javax.xml.bind.annotation.XmlElement;
7
8
9
10
11
12
13
14
15
16
17
18
19 public class EnterAgentEventMessage extends EventMessage {
20
21 private static final long serialVersionUID = 7675732524832500820L;
22
23 public EnterAgentEventMessage() {
24 super(EventType.enter_agent.name());
25 }
26
27
28
29
30 @XmlElement(name = "EventKey")
31 private String eventKey;
32
33 public String getEventKey() {
34 return eventKey;
35 }
36
37 @Override
38 public String toString() {
39 return "EnterAgentEventMessage [eventKey=" + eventKey + ", "
40 + super.toString() + "]";
41 }
42 }