WorkWechatUserCheckInDataResponseDTO.java
4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
package cn.com.glsx.wechatbuild.model;
import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonMethod;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* @author yelq
* @version V1.0
* @Title: WorkWechatUserCheckInDataResponseDTO.java
* @Description:获取打卡记录数据
* @date 2024年4月9日19点37分
*/
@NoArgsConstructor
@JsonAutoDetect(JsonMethod.FIELD)
@JsonIgnoreProperties(ignoreUnknown = true)
@Setter
@Getter
@ToString(callSuper = true, includeFieldNames = true)
public class WorkWechatUserCheckInDataResponseDTO extends BaseResponseDTO {
private static final long serialVersionUID = 65436547645740473L;
/**
* 打卡记录数据
*/
@JsonProperty("checkindata")
private List<CheckInRecord> checkindata;
@JsonAutoDetect(JsonMethod.FIELD)
@JsonIgnoreProperties(ignoreUnknown = true)
@Setter
@Getter
@ToString(includeFieldNames = true, callSuper = true)
public static class CheckInRecord {
/**
* 用户id
*/
@JsonProperty("userid")
private String userId;
/**
* 打卡规则名称
*/
@JsonProperty("groupname")
private String groupName;
/**
* 打卡类型。字符串,目前有:上班打卡,下班打卡,外出打卡
*/
@JsonProperty("checkin_type")
private String checkinType;
/**
* 异常类型,字符串,包括:时间异常,地点异常,未打卡,wifi异常,非常用设备。如果有多个异常,以分号间隔
*/
@JsonProperty("exception_type")
private String exceptionType;
/**
* 打卡时间,时间戳
*/
@JsonProperty("checkin_time")
private long checkinTime;
/**
* 打卡地点title
*/
@JsonProperty("location_title")
private String locationTitle;
/**
* 打卡地点详情
*/
@JsonProperty("location_detail")
private String locationDetail;
/**
* 打卡wifi名称
*/
@JsonProperty("wifiname")
private String wifiName;
/**
* 打卡备注
*/
@JsonProperty("notes")
private String notes;
/**
* 打卡的MAC地址/bssid
*/
@JsonProperty("wifimac")
private String wifiMac;
/**
* 打卡的附件media_id,可使用media/get获取附件
*/
@JsonProperty("mediaids")
private List<String> mediaIds;
/**
* 位置打卡地点纬度,是实际纬度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准
*/
@JsonProperty("lat")
private Integer lat;
/**
* 位置打卡地点经度,是实际经度的1000000倍,与腾讯地图一致采用GCJ-02坐标系统标准
*/
@JsonProperty("lng")
private Integer lng;
/**
* 打卡设备id
*/
@JsonProperty("deviceid")
private String deviceId;
/**
* 标准打卡时间,指此次打卡时间对应的标准上班时间或标准下班时间
*/
@JsonProperty("sch_checkin_time")
private Long schCheckInTime;
/**
* 规则id,表示打卡记录所属规则的id
*/
@JsonProperty("groupid")
private Integer groupId;
/**
* 班次id,表示打卡记录所属规则中,所属班次的id
*/
@JsonProperty("schedule_id")
private Integer scheduleId;
/**
* 时段id,表示打卡记录所属规则中,某一班次中的某一时段的id,如上下班时间为9:00-12:00、13:00-18:00的班次中,9:00-12:00为其中一组时段
*/
@JsonProperty("timeline_id")
private Integer timelineId;
}
}