1 package com.foxinmy.weixin4j.qy.model;
2
3 import java.util.List;
4
5 import com.alibaba.fastjson.annotation.JSONField;
6
7
8
9
10
11
12
13
14
15
16 public class AgentInfo extends AgentSetter {
17
18 private static final long serialVersionUID = -8975132919768696174L;
19
20
21
22
23 @JSONField(name = "square_logo_url")
24 private String squareLogoUrl;
25
26
27
28 @JSONField(deserialize = false)
29 private List<User> allowUsers;
30
31
32
33 @JSONField(deserialize = false)
34 private List<Integer> allowPartys;
35
36
37
38 @JSONField(deserialize = false)
39 private List<Integer> allowTags;
40
41
42
43 private boolean close;
44
45 public AgentInfo() {
46 super(0);
47 }
48
49 public List<User> getAllowUsers() {
50 return allowUsers;
51 }
52
53 public void setAllowUsers(List<User> allowUsers) {
54 this.allowUsers = allowUsers;
55 }
56
57 public List<Integer> getAllowPartys() {
58 return allowPartys;
59 }
60
61 public void setAllowPartys(List<Integer> allowPartys) {
62 this.allowPartys = allowPartys;
63 }
64
65 public List<Integer> getAllowTags() {
66 return allowTags;
67 }
68
69 public void setAllowTags(List<Integer> allowTags) {
70 this.allowTags = allowTags;
71 }
72
73 public boolean isClose() {
74 return close;
75 }
76
77
78
79 public void setSquareLogoUrl(String squareLogoUrl) {
80 this.squareLogoUrl = squareLogoUrl;
81 }
82
83 public void setClose(boolean close) {
84 this.close = close;
85 }
86
87 @Override
88 public String toString() {
89 return "AgentInfo [squareLogoUrl=" + squareLogoUrl + ", allowUsers="
90 + allowUsers + ", allowPartys=" + allowPartys + ", allowTags="
91 + allowTags + ", close=" + close + ", " + super.toString()
92 + "]";
93 }
94 }