1 package com.foxinmy.weixin4j.type;
2
3 import java.io.Serializable;
4
5
6
7
8
9
10
11
12
13
14
15 @Deprecated
16 public class IdQuery implements Serializable {
17
18 private static final long serialVersionUID = -5273675987521807370L;
19
20
21
22 private String id;
23
24
25
26
27
28 private IdType type;
29
30 public IdQuery(String id, IdType idType) {
31 this.id = id;
32 this.type = idType;
33 }
34
35 public String getId() {
36 return id;
37 }
38
39 public IdType getType() {
40 return type;
41 }
42
43 @Override
44 public String toString() {
45 return String.format("%s=%s", type.getName(), id);
46 }
47 }