View Javadoc
1   package com.foxinmy.weixin4j.mp.datacube;
2   
3   import java.util.Date;
4   
5   import com.alibaba.fastjson.annotation.JSONField;
6   
7   /**
8    * 图文数据
9    * 
10   * @className ArticleDatacube2
11   * @author jinyu(foxinmy@gmail.com)
12   * @date 2015年3月29日
13   * @since JDK 1.6
14   * @see
15   */
16  public class ArticleDatacube2 extends ArticleDatacube1 {
17  	private static final long serialVersionUID = -2924534868674264316L;
18  
19  	/**
20  	 * 统计的日期
21  	 */
22  	@JSONField(name = "stat_date")
23  	private Date statDate;
24  	/**
25  	 * 送达人数,一般约等于总粉丝数(需排除黑名单或其他异常情况下无法收到消息的粉丝)
26  	 */
27  	@JSONField(name = "target_user")
28  	private int targetUser;
29  
30  	public Date getStatDate() {
31  		return statDate;
32  	}
33  
34  	public void setStatDate(Date statDate) {
35  		this.statDate = statDate;
36  	}
37  
38  	public int getTargetUser() {
39  		return targetUser;
40  	}
41  
42  	public void setTargetUser(int targetUser) {
43  		this.targetUser = targetUser;
44  	}
45  
46  	@Override
47  	public String toString() {
48  		return "statDate=" + statDate + ", targetUser=" + targetUser + ", "
49  				+ super.toString();
50  	}
51  }