1 package com.foxinmy.weixin4j.mp.model.shakearound;
2
3 import com.alibaba.fastjson.annotation.JSONField;
4
5
6
7
8
9
10 public class Device {
11
12
13
14
15 @JSONField(name = "device_id")
16 private Integer deviceId;
17
18
19 private String uuid;
20
21 private Integer major;
22
23 private Integer minor;
24
25
26
27
28 private int status;
29
30
31
32
33 @JSONField(name = "last_active_time")
34 private String lastActiveTime;
35
36
37
38
39
40
41 @JSONField(name = "poi_appid")
42 private String poiAppId;
43
44
45
46
47
48 @JSONField(name = "poi_id")
49 private String poiId;
50
51
52
53
54 private String comment;
55
56
57 public Device() {
58 }
59
60
61
62
63
64 public Device(Integer deviceId) {
65 this.deviceId = deviceId;
66 }
67
68 public Device(String uuid, Integer major, Integer minor) {
69 this.uuid = uuid;
70 this.major = major;
71 this.minor = minor;
72 }
73
74 public Integer getDeviceId() {
75 return deviceId;
76 }
77
78 public void setDeviceId(int deviceId) {
79 this.deviceId = deviceId;
80 }
81
82 public String getUuid() {
83 return uuid;
84 }
85
86 public void setUuid(String uuid) {
87 this.uuid = uuid;
88 }
89
90 public Integer getMajor() {
91 return major;
92 }
93
94 public void setMajor(int major) {
95 this.major = major;
96 }
97
98 public Integer getMinor() {
99 return minor;
100 }
101
102 public void setMinor(int minor) {
103 this.minor = minor;
104 }
105
106 public void setDeviceId(Integer deviceId) {
107 this.deviceId = deviceId;
108 }
109
110 public void setMajor(Integer major) {
111 this.major = major;
112 }
113
114 public void setMinor(Integer minor) {
115 this.minor = minor;
116 }
117
118 public int getStatus() {
119 return status;
120 }
121
122 public void setStatus(int status) {
123 this.status = status;
124 }
125
126 public String getLastActiveTime() {
127 return lastActiveTime;
128 }
129
130 public void setLastActiveTime(String lastActiveTime) {
131 this.lastActiveTime = lastActiveTime;
132 }
133
134 public String getPoiAppId() {
135 return poiAppId;
136 }
137
138 public void setPoiAppId(String poiAppId) {
139 this.poiAppId = poiAppId;
140 }
141
142 public String getPoiId() {
143 return poiId;
144 }
145
146 public void setPoiId(String poiId) {
147 this.poiId = poiId;
148 }
149
150 public String getComment() {
151 return comment;
152 }
153
154 public void setComment(String comment) {
155 this.comment = comment;
156 }
157
158 }