|
13 | 13 | @Data
|
14 | 14 | public class WxCpCheckinSchedule implements Serializable {
|
15 | 15 |
|
16 |
| - private static final long serialVersionUID = 5399197385827384108L; |
| 16 | + private static final long serialVersionUID = 5515056962298169806L; |
17 | 17 |
|
18 | 18 | /**
|
19 |
| - * schedule_list 排班表信息 |
| 19 | + * userid 打卡人员userid |
20 | 20 | */
|
21 |
| - @SerializedName("schedule_list") |
22 |
| - private List<UserScheduleInfo> scheduleList; |
| 21 | + @SerializedName("userid") |
| 22 | + private String userid; |
23 | 23 |
|
24 |
| - @Data |
25 |
| - public class UserScheduleInfo implements Serializable { |
26 |
| - private static final long serialVersionUID = 5515056962298169806L; |
27 |
| - /** |
28 |
| - * userid 打卡人员userid |
29 |
| - */ |
30 |
| - @SerializedName("userid") |
31 |
| - private String userid; |
| 24 | + /** |
| 25 | + * yearmonth 排班表月份,格式为年月,如202011 |
| 26 | + */ |
| 27 | + @SerializedName("yearmonth") |
| 28 | + private Integer yearmonth; |
32 | 29 |
|
33 |
| - /** |
34 |
| - * yearmonth 排班表月份,格式为年月,如202011 |
35 |
| - */ |
36 |
| - @SerializedName("yearmonth") |
37 |
| - private Integer yearmonth; |
| 30 | + /** |
| 31 | + * groupid 打卡规则id |
| 32 | + */ |
| 33 | + @SerializedName("groupid") |
| 34 | + private Integer groupid; |
38 | 35 |
|
39 |
| - /** |
40 |
| - * groupid 打卡规则id |
41 |
| - */ |
42 |
| - @SerializedName("groupid") |
43 |
| - private Integer groupid; |
| 36 | + /** |
| 37 | + * groupname 打卡规则名 |
| 38 | + */ |
| 39 | + @SerializedName("groupname") |
| 40 | + private String groupName; |
44 | 41 |
|
45 |
| - /** |
46 |
| - * groupname 打卡规则名 |
47 |
| - */ |
48 |
| - @SerializedName("groupname") |
49 |
| - private String groupName; |
| 42 | + /** |
| 43 | + * schedule 个人排班信息 |
| 44 | + */ |
| 45 | + @SerializedName("schedule") |
| 46 | + private UserSchedule schedule; |
50 | 47 |
|
| 48 | + @Data |
| 49 | + public class UserSchedule implements Serializable { |
| 50 | + private static final long serialVersionUID = 9138985222324576857L; |
51 | 51 | /**
|
52 |
| - * schedule 个人排班信息 |
| 52 | + * scheduleList 个人排班表信息 |
53 | 53 | */
|
54 |
| - @SerializedName("schedule") |
55 |
| - private UserSchedule schedule; |
| 54 | + @SerializedName("scheduleList") |
| 55 | + private List<Schedule> scheduleList; |
56 | 56 |
|
57 | 57 | @Data
|
58 |
| - public class UserSchedule implements Serializable { |
59 |
| - private static final long serialVersionUID = 9138985222324576857L; |
| 58 | + public class Schedule implements Serializable { |
| 59 | + |
| 60 | + private static final long serialVersionUID = 8344153237512495728L; |
| 61 | + |
60 | 62 | /**
|
61 |
| - * scheduleList 个人排班表信息 |
| 63 | + * day 排班日期,为表示当月第几天的数字 |
62 | 64 | */
|
63 |
| - @SerializedName("scheduleList") |
64 |
| - private List<Schedule> scheduleList; |
| 65 | + @SerializedName("day") |
| 66 | + private Integer day; |
65 | 67 |
|
66 |
| - @Data |
67 |
| - public class Schedule implements Serializable{ |
| 68 | + /** |
| 69 | + * schedule_info 排班日期,为表示当月第几天的数字 |
| 70 | + */ |
| 71 | + @SerializedName("schedule_info") |
| 72 | + private ScheduleInfo scheduleInfo; |
68 | 73 |
|
69 |
| - private static final long serialVersionUID = 8344153237512495728L; |
| 74 | + @Data |
| 75 | + public class ScheduleInfo implements Serializable { |
| 76 | + private static final long serialVersionUID = 1317096341116256963L; |
| 77 | + /** |
| 78 | + * schedule_id 当日安排班次id,班次id也可在打卡规则中查询获得 |
| 79 | + */ |
| 80 | + @SerializedName("schedule_id") |
| 81 | + private Integer scheduleId; |
70 | 82 |
|
71 | 83 | /**
|
72 |
| - * day 排班日期,为表示当月第几天的数字 |
| 84 | + * schedule_name 排班日期,为表示当月第几天的数字 |
73 | 85 | */
|
74 |
| - @SerializedName("day") |
75 |
| - private Integer day; |
| 86 | + @SerializedName("schedule_name") |
| 87 | + private String scheduleName; |
76 | 88 |
|
77 | 89 | /**
|
78 |
| - * schedule_info 排班日期,为表示当月第几天的数字 |
| 90 | + * time_section 排班日期,为表示当月第几天的数字 |
79 | 91 | */
|
80 |
| - @SerializedName("schedule_info") |
81 |
| - private ScheduleInfo scheduleInfo; |
| 92 | + @SerializedName("time_section") |
| 93 | + private List<TimeSection> timeSection; |
| 94 | + |
82 | 95 |
|
83 | 96 | @Data
|
84 |
| - public class ScheduleInfo implements Serializable { |
85 |
| - private static final long serialVersionUID = 1317096341116256963L; |
| 97 | + public class TimeSection implements Serializable { |
| 98 | + private static final long serialVersionUID = -3447467962751285748L; |
86 | 99 | /**
|
87 |
| - * schedule_id 当日安排班次id,班次id也可在打卡规则中查询获得 |
| 100 | + * id 时段id,为班次中某一堆上下班时间组合的id |
88 | 101 | */
|
89 |
| - @SerializedName("schedule_id") |
90 |
| - private Integer scheduleId; |
| 102 | + @SerializedName("id") |
| 103 | + private Integer id; |
91 | 104 |
|
92 | 105 | /**
|
93 |
| - * schedule_name 排班日期,为表示当月第几天的数字 |
| 106 | + * work_sec 上班时间。距当天00:00的秒数 |
94 | 107 | */
|
95 |
| - @SerializedName("schedule_name") |
96 |
| - private String scheduleName; |
| 108 | + @SerializedName("work_sec") |
| 109 | + private Integer workSec; |
97 | 110 |
|
98 | 111 | /**
|
99 |
| - * time_section 排班日期,为表示当月第几天的数字 |
| 112 | + * off_work_sec 下班时间。距当天00:00的秒数 |
100 | 113 | */
|
101 |
| - @SerializedName("time_section") |
102 |
| - private List<TimeSection> timeSection; |
103 |
| - |
104 |
| - |
105 |
| - @Data |
106 |
| - public class TimeSection implements Serializable { |
107 |
| - private static final long serialVersionUID = -3447467962751285748L; |
108 |
| - /** |
109 |
| - * id 时段id,为班次中某一堆上下班时间组合的id |
110 |
| - */ |
111 |
| - @SerializedName("id") |
112 |
| - private Integer id; |
113 |
| - |
114 |
| - /** |
115 |
| - * work_sec 上班时间。距当天00:00的秒数 |
116 |
| - */ |
117 |
| - @SerializedName("work_sec") |
118 |
| - private Integer workSec; |
119 |
| - |
120 |
| - /** |
121 |
| - * off_work_sec 下班时间。距当天00:00的秒数 |
122 |
| - */ |
123 |
| - @SerializedName("off_work_sec") |
124 |
| - private Integer offWorkSec; |
125 |
| - |
126 |
| - /** |
127 |
| - * remind_work_sec 上班提醒时间。距当天00:00的秒数 |
128 |
| - */ |
129 |
| - @SerializedName("remind_work_sec") |
130 |
| - private Integer remindWorkSec; |
131 |
| - |
132 |
| - /** |
133 |
| - * remind_off_work_sec 下班提醒时间。距当天00:00的秒数 |
134 |
| - */ |
135 |
| - @SerializedName("remind_off_work_sec") |
136 |
| - private Integer remindOffWorkSec; |
137 |
| - } |
| 114 | + @SerializedName("off_work_sec") |
| 115 | + private Integer offWorkSec; |
| 116 | + |
| 117 | + /** |
| 118 | + * remind_work_sec 上班提醒时间。距当天00:00的秒数 |
| 119 | + */ |
| 120 | + @SerializedName("remind_work_sec") |
| 121 | + private Integer remindWorkSec; |
| 122 | + |
| 123 | + /** |
| 124 | + * remind_off_work_sec 下班提醒时间。距当天00:00的秒数 |
| 125 | + */ |
| 126 | + @SerializedName("remind_off_work_sec") |
| 127 | + private Integer remindOffWorkSec; |
138 | 128 | }
|
139 | 129 | }
|
| 130 | + } |
140 | 131 |
|
141 | 132 |
|
142 |
| - } |
143 | 133 | }
|
144 | 134 | }
|
0 commit comments