1 package com.foxinmy.weixin4j.qy.model;
2
3 import java.io.Serializable;
4
5 import com.alibaba.fastjson.annotation.JSONCreator;
6 import com.alibaba.fastjson.annotation.JSONField;
7
8
9
10
11
12
13
14
15
16
17 public class Callback implements Serializable {
18
19 private static final long serialVersionUID = 8575808461248605317L;
20
21
22
23
24 private String url;
25
26
27
28 private String token;
29
30
31
32 @JSONField(name = "encodingaeskey")
33 private String aesKey;
34
35 @JSONCreator
36 public Callback(@JSONField(name = "url") String url,
37 @JSONField(name = "token") String token,
38 @JSONField(name = "aesKey") String aesKey) {
39 this.url = url;
40 this.token = token;
41 this.aesKey = aesKey;
42 }
43
44 public String getUrl() {
45 return url;
46 }
47
48 public String getToken() {
49 return token;
50 }
51
52 public String getAesKey() {
53 return aesKey;
54 }
55
56 @Override
57 public String toString() {
58 return "Callback [url=" + url + ", token=" + token + ", aesKey="
59 + aesKey + "]";
60 }
61 }