View Javadoc
1   package com.foxinmy.weixin4j.qy.model;
2   
3   import java.io.Serializable;
4   
5   import com.alibaba.fastjson.annotation.JSONField;
6   
7   /**
8    * 企业号应用的概况信息
9    * 
10   * @className AgentOverview
11   * @author jinyu(foxinmy@gmail.com)
12   * @date 2015年4月9日
13   * @since JDK 1.6
14   * @see
15   */
16  public class AgentOverview implements Serializable {
17  
18  	private static final long serialVersionUID = 5459274811502476460L;
19  	/**
20  	 * 企业应用的id
21  	 */
22  	@JSONField(name = "agentid")
23  	private int agentId;
24  	/**
25  	 * 企业应用名称
26  	 */
27  	private String name;
28  	/**
29  	 * 企业应用方形头像
30  	 */
31  	@JSONField(name = "square_logo_url")
32  	private String squareLogoUrl;
33  
34  	public int getAgentId() {
35  		return agentId;
36  	}
37  
38  	public String getName() {
39  		return name;
40  	}
41  
42  	public String getSquareLogoUrl() {
43  		return squareLogoUrl;
44  	}
45  
46  	// ---------- setter 应该全部去掉
47  	public void setAgentId(int agentId) {
48  		this.agentId = agentId;
49  	}
50  
51  	public void setName(String name) {
52  		this.name = name;
53  	}
54  
55  	public void setSquareLogoUrl(String squareLogoUrl) {
56  		this.squareLogoUrl = squareLogoUrl;
57  	}
58  
59  	@Override
60  	public String toString() {
61  		return "AgentOverview [agentId=" + agentId + ", name=" + name
62  				+ ", squareLogoUrl=" + squareLogoUrl + "]";
63  	}
64  }