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 MassEventMessage extends EventMessage {
19  
20  	private static final long serialVersionUID = -1660543255873723895L;
21  
22  	public MassEventMessage() {
23  		super(EventType.masssendjobfinish.name());
24  	}
25  
26  	
27  
28  
29  	@XmlElement(name = "Status")
30  	private String status;
31  	
32  
33  
34  	@XmlElement(name = "TotalCount")
35  	private int totalCount;
36  	
37  
38  
39  
40  	@XmlElement(name = "FilterCount")
41  	private int filterCount;
42  	
43  
44  
45  	@XmlElement(name = "SentCount")
46  	private int sentCount;
47  	
48  
49  
50  	@XmlElement(name = "ErrorCount")
51  	private int errorCount;
52  
53  	public String getStatus() {
54  		return status;
55  	}
56  
57  	public int getTotalCount() {
58  		return totalCount;
59  	}
60  
61  	public int getFilterCount() {
62  		return filterCount;
63  	}
64  
65  	public int getSentCount() {
66  		return sentCount;
67  	}
68  
69  	public int getErrorCount() {
70  		return errorCount;
71  	}
72  
73  	@Override
74  	public String toString() {
75  		return "MassEventMessage [status=" + status + ", totalCount="
76  				+ totalCount + ", filterCount=" + filterCount + ", sentCount="
77  				+ sentCount + ", errorCount=" + errorCount + ", "
78  				+ super.toString() + "]";
79  	}
80  }