m1m02530125 Claude Sonnet 4.6 commited on
Commit
340c8a3
·
1 Parent(s): 940901d

Add seed data from local SQLite DB for default employees and shifts

Browse files
Files changed (3) hide show
  1. db/database.py +5 -0
  2. db/seed_data.json +4247 -0
  3. db/seeder.py +73 -0
db/database.py CHANGED
@@ -294,4 +294,9 @@ def initialize_db():
294
  )
295
 
296
  conn.commit()
 
 
 
 
 
297
  conn.close()
 
294
  )
295
 
296
  conn.commit()
297
+
298
+ # DBが空なら初期データを投入
299
+ from db.seeder import seed_if_empty
300
+ seed_if_empty(conn)
301
+
302
  conn.close()
db/seed_data.json ADDED
@@ -0,0 +1,4247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "employees": [
3
+ {
4
+ "id": 1,
5
+ "name": "池山",
6
+ "employment_type": "full_time",
7
+ "hall_skill": "leader",
8
+ "kitchen_skill": "general",
9
+ "is_active": 1,
10
+ "primary_position": null,
11
+ "primary_timeslot": null
12
+ },
13
+ {
14
+ "id": 2,
15
+ "name": "安本",
16
+ "employment_type": "full_time",
17
+ "hall_skill": "leader",
18
+ "kitchen_skill": "general",
19
+ "is_active": 1,
20
+ "primary_position": null,
21
+ "primary_timeslot": null
22
+ },
23
+ {
24
+ "id": 3,
25
+ "name": "﨑本",
26
+ "employment_type": "full_time",
27
+ "hall_skill": "leader",
28
+ "kitchen_skill": "general",
29
+ "is_active": 1,
30
+ "primary_position": null,
31
+ "primary_timeslot": null
32
+ },
33
+ {
34
+ "id": 4,
35
+ "name": "岡田",
36
+ "employment_type": "full_time",
37
+ "hall_skill": "general",
38
+ "kitchen_skill": "leader",
39
+ "is_active": 1,
40
+ "primary_position": null,
41
+ "primary_timeslot": null
42
+ },
43
+ {
44
+ "id": 5,
45
+ "name": "鎌田",
46
+ "employment_type": "full_time",
47
+ "hall_skill": "general",
48
+ "kitchen_skill": "leader",
49
+ "is_active": 1,
50
+ "primary_position": null,
51
+ "primary_timeslot": null
52
+ },
53
+ {
54
+ "id": 6,
55
+ "name": "タオリ",
56
+ "employment_type": "full_time",
57
+ "hall_skill": "general",
58
+ "kitchen_skill": "veteran",
59
+ "is_active": 1,
60
+ "primary_position": null,
61
+ "primary_timeslot": null
62
+ },
63
+ {
64
+ "id": 7,
65
+ "name": "林",
66
+ "employment_type": "part_time",
67
+ "hall_skill": "veteran",
68
+ "kitchen_skill": "beginner",
69
+ "is_active": 1,
70
+ "primary_position": null,
71
+ "primary_timeslot": null
72
+ },
73
+ {
74
+ "id": 8,
75
+ "name": "ミツイ",
76
+ "employment_type": "part_time",
77
+ "hall_skill": "veteran",
78
+ "kitchen_skill": "beginner",
79
+ "is_active": 1,
80
+ "primary_position": null,
81
+ "primary_timeslot": null
82
+ },
83
+ {
84
+ "id": 9,
85
+ "name": "細田",
86
+ "employment_type": "part_time",
87
+ "hall_skill": "general",
88
+ "kitchen_skill": "general",
89
+ "is_active": 1,
90
+ "primary_position": null,
91
+ "primary_timeslot": null
92
+ },
93
+ {
94
+ "id": 10,
95
+ "name": "アッスミタ",
96
+ "employment_type": "part_time",
97
+ "hall_skill": "general",
98
+ "kitchen_skill": "beginner",
99
+ "is_active": 1,
100
+ "primary_position": null,
101
+ "primary_timeslot": null
102
+ },
103
+ {
104
+ "id": 11,
105
+ "name": "マニス",
106
+ "employment_type": "part_time",
107
+ "hall_skill": "general",
108
+ "kitchen_skill": "beginner",
109
+ "is_active": 1,
110
+ "primary_position": null,
111
+ "primary_timeslot": null
112
+ },
113
+ {
114
+ "id": 12,
115
+ "name": "レジーナ",
116
+ "employment_type": "part_time",
117
+ "hall_skill": "general",
118
+ "kitchen_skill": "beginner",
119
+ "is_active": 1,
120
+ "primary_position": null,
121
+ "primary_timeslot": null
122
+ },
123
+ {
124
+ "id": 13,
125
+ "name": "ビルシャナ",
126
+ "employment_type": "part_time",
127
+ "hall_skill": "general",
128
+ "kitchen_skill": "beginner",
129
+ "is_active": 1,
130
+ "primary_position": null,
131
+ "primary_timeslot": null
132
+ },
133
+ {
134
+ "id": 14,
135
+ "name": "藤内",
136
+ "employment_type": "part_time",
137
+ "hall_skill": "general",
138
+ "kitchen_skill": "beginner",
139
+ "is_active": 1,
140
+ "primary_position": null,
141
+ "primary_timeslot": null
142
+ },
143
+ {
144
+ "id": 15,
145
+ "name": "上田",
146
+ "employment_type": "part_time",
147
+ "hall_skill": "general",
148
+ "kitchen_skill": "beginner",
149
+ "is_active": 1,
150
+ "primary_position": null,
151
+ "primary_timeslot": null
152
+ },
153
+ {
154
+ "id": 16,
155
+ "name": "津波古",
156
+ "employment_type": "part_time",
157
+ "hall_skill": "general",
158
+ "kitchen_skill": "beginner",
159
+ "is_active": 1,
160
+ "primary_position": null,
161
+ "primary_timeslot": null
162
+ },
163
+ {
164
+ "id": 17,
165
+ "name": "カテリナ",
166
+ "employment_type": "part_time",
167
+ "hall_skill": "general",
168
+ "kitchen_skill": "beginner",
169
+ "is_active": 1,
170
+ "primary_position": null,
171
+ "primary_timeslot": null
172
+ },
173
+ {
174
+ "id": 18,
175
+ "name": "キム",
176
+ "employment_type": "part_time",
177
+ "hall_skill": "general",
178
+ "kitchen_skill": "beginner",
179
+ "is_active": 1,
180
+ "primary_position": null,
181
+ "primary_timeslot": null
182
+ },
183
+ {
184
+ "id": 19,
185
+ "name": "齊藤",
186
+ "employment_type": "part_time",
187
+ "hall_skill": "general",
188
+ "kitchen_skill": "beginner",
189
+ "is_active": 1,
190
+ "primary_position": null,
191
+ "primary_timeslot": null
192
+ },
193
+ {
194
+ "id": 20,
195
+ "name": "藤畑",
196
+ "employment_type": "part_time",
197
+ "hall_skill": "beginner",
198
+ "kitchen_skill": "beginner",
199
+ "is_active": 1,
200
+ "primary_position": null,
201
+ "primary_timeslot": null
202
+ },
203
+ {
204
+ "id": 21,
205
+ "name": "田中",
206
+ "employment_type": "part_time",
207
+ "hall_skill": "beginner",
208
+ "kitchen_skill": "general",
209
+ "is_active": 1,
210
+ "primary_position": null,
211
+ "primary_timeslot": null
212
+ },
213
+ {
214
+ "id": 22,
215
+ "name": "島野",
216
+ "employment_type": "part_time",
217
+ "hall_skill": "beginner",
218
+ "kitchen_skill": "veteran",
219
+ "is_active": 1,
220
+ "primary_position": null,
221
+ "primary_timeslot": null
222
+ },
223
+ {
224
+ "id": 23,
225
+ "name": "チャー",
226
+ "employment_type": "part_time",
227
+ "hall_skill": "beginner",
228
+ "kitchen_skill": "veteran",
229
+ "is_active": 1,
230
+ "primary_position": null,
231
+ "primary_timeslot": null
232
+ },
233
+ {
234
+ "id": 24,
235
+ "name": "坂田",
236
+ "employment_type": "part_time",
237
+ "hall_skill": "general",
238
+ "kitchen_skill": "veteran",
239
+ "is_active": 1,
240
+ "primary_position": null,
241
+ "primary_timeslot": null
242
+ },
243
+ {
244
+ "id": 25,
245
+ "name": "北",
246
+ "employment_type": "part_time",
247
+ "hall_skill": "beginner",
248
+ "kitchen_skill": "beginner",
249
+ "is_active": 1,
250
+ "primary_position": null,
251
+ "primary_timeslot": null
252
+ },
253
+ {
254
+ "id": 26,
255
+ "name": "南愛菜",
256
+ "employment_type": "part_time",
257
+ "hall_skill": "general",
258
+ "kitchen_skill": "beginner",
259
+ "is_active": 1,
260
+ "primary_position": null,
261
+ "primary_timeslot": null
262
+ },
263
+ {
264
+ "id": 27,
265
+ "name": "ドリアン",
266
+ "employment_type": "part_time",
267
+ "hall_skill": "general",
268
+ "kitchen_skill": "beginner",
269
+ "is_active": 1,
270
+ "primary_position": null,
271
+ "primary_timeslot": null
272
+ },
273
+ {
274
+ "id": 28,
275
+ "name": "中家",
276
+ "employment_type": "part_time",
277
+ "hall_skill": "general",
278
+ "kitchen_skill": "beginner",
279
+ "is_active": 1,
280
+ "primary_position": null,
281
+ "primary_timeslot": null
282
+ },
283
+ {
284
+ "id": 29,
285
+ "name": "光久",
286
+ "employment_type": "part_time",
287
+ "hall_skill": "general",
288
+ "kitchen_skill": "beginner",
289
+ "is_active": 1,
290
+ "primary_position": null,
291
+ "primary_timeslot": null
292
+ },
293
+ {
294
+ "id": 30,
295
+ "name": "南志穂",
296
+ "employment_type": "part_time",
297
+ "hall_skill": "general",
298
+ "kitchen_skill": "beginner",
299
+ "is_active": 1,
300
+ "primary_position": null,
301
+ "primary_timeslot": null
302
+ },
303
+ {
304
+ "id": 31,
305
+ "name": "岡本",
306
+ "employment_type": "part_time",
307
+ "hall_skill": "general",
308
+ "kitchen_skill": "general",
309
+ "is_active": 1,
310
+ "primary_position": null,
311
+ "primary_timeslot": null
312
+ },
313
+ {
314
+ "id": 32,
315
+ "name": "廣田",
316
+ "employment_type": "part_time",
317
+ "hall_skill": "beginner",
318
+ "kitchen_skill": "beginner",
319
+ "is_active": 1,
320
+ "primary_position": null,
321
+ "primary_timeslot": null
322
+ },
323
+ {
324
+ "id": 33,
325
+ "name": "リット",
326
+ "employment_type": "part_time",
327
+ "hall_skill": "general",
328
+ "kitchen_skill": "beginner",
329
+ "is_active": 1,
330
+ "primary_position": null,
331
+ "primary_timeslot": null
332
+ },
333
+ {
334
+ "id": 34,
335
+ "name": "鈴木",
336
+ "employment_type": "part_time",
337
+ "hall_skill": "general",
338
+ "kitchen_skill": "beginner",
339
+ "is_active": 1,
340
+ "primary_position": null,
341
+ "primary_timeslot": null
342
+ },
343
+ {
344
+ "id": 35,
345
+ "name": "名古",
346
+ "employment_type": "part_time",
347
+ "hall_skill": "beginner",
348
+ "kitchen_skill": "general",
349
+ "is_active": 1,
350
+ "primary_position": null,
351
+ "primary_timeslot": null
352
+ },
353
+ {
354
+ "id": 36,
355
+ "name": "坂本",
356
+ "employment_type": "part_time",
357
+ "hall_skill": "beginner",
358
+ "kitchen_skill": "general",
359
+ "is_active": 1,
360
+ "primary_position": null,
361
+ "primary_timeslot": null
362
+ },
363
+ {
364
+ "id": 37,
365
+ "name": "井上",
366
+ "employment_type": "part_time",
367
+ "hall_skill": "beginner",
368
+ "kitchen_skill": "beginner",
369
+ "is_active": 1,
370
+ "primary_position": null,
371
+ "primary_timeslot": null
372
+ },
373
+ {
374
+ "id": 38,
375
+ "name": "アリャー",
376
+ "employment_type": "part_time",
377
+ "hall_skill": "beginner",
378
+ "kitchen_skill": "beginner",
379
+ "is_active": 1,
380
+ "primary_position": null,
381
+ "primary_timeslot": null
382
+ }
383
+ ],
384
+ "fixed_patterns": [],
385
+ "fixed_unavailable_dates": [],
386
+ "schedule_periods": [
387
+ {
388
+ "id": 1,
389
+ "start_date": "2024-03-01",
390
+ "end_date": "2024-03-15",
391
+ "status": "draft",
392
+ "created_at": "2026-04-16 05:46:05"
393
+ }
394
+ ],
395
+ "shift_requests": [
396
+ {
397
+ "id": 1,
398
+ "period_id": 1,
399
+ "employee_id": 1,
400
+ "date": "2024-03-01",
401
+ "breakfast": 0,
402
+ "dinner": 1,
403
+ "note": "",
404
+ "pattern_id": "d_full1",
405
+ "custom_start": null,
406
+ "custom_end": null
407
+ },
408
+ {
409
+ "id": 2,
410
+ "period_id": 1,
411
+ "employee_id": 1,
412
+ "date": "2024-03-03",
413
+ "breakfast": 0,
414
+ "dinner": 1,
415
+ "note": "",
416
+ "pattern_id": "d_full1",
417
+ "custom_start": null,
418
+ "custom_end": null
419
+ },
420
+ {
421
+ "id": 3,
422
+ "period_id": 1,
423
+ "employee_id": 1,
424
+ "date": "2024-03-04",
425
+ "breakfast": 0,
426
+ "dinner": 1,
427
+ "note": "",
428
+ "pattern_id": "d_full1",
429
+ "custom_start": null,
430
+ "custom_end": null
431
+ },
432
+ {
433
+ "id": 4,
434
+ "period_id": 1,
435
+ "employee_id": 1,
436
+ "date": "2024-03-06",
437
+ "breakfast": 0,
438
+ "dinner": 1,
439
+ "note": "",
440
+ "pattern_id": "d_full1",
441
+ "custom_start": null,
442
+ "custom_end": null
443
+ },
444
+ {
445
+ "id": 5,
446
+ "period_id": 1,
447
+ "employee_id": 1,
448
+ "date": "2024-03-08",
449
+ "breakfast": 0,
450
+ "dinner": 1,
451
+ "note": "",
452
+ "pattern_id": "d_full1",
453
+ "custom_start": null,
454
+ "custom_end": null
455
+ },
456
+ {
457
+ "id": 6,
458
+ "period_id": 1,
459
+ "employee_id": 1,
460
+ "date": "2024-03-09",
461
+ "breakfast": 0,
462
+ "dinner": 0,
463
+ "note": "有給",
464
+ "pattern_id": null,
465
+ "custom_start": null,
466
+ "custom_end": null
467
+ },
468
+ {
469
+ "id": 7,
470
+ "period_id": 1,
471
+ "employee_id": 1,
472
+ "date": "2024-03-10",
473
+ "breakfast": 0,
474
+ "dinner": 1,
475
+ "note": "",
476
+ "pattern_id": "d_full1",
477
+ "custom_start": null,
478
+ "custom_end": null
479
+ },
480
+ {
481
+ "id": 8,
482
+ "period_id": 1,
483
+ "employee_id": 1,
484
+ "date": "2024-03-11",
485
+ "breakfast": 0,
486
+ "dinner": 1,
487
+ "note": "",
488
+ "pattern_id": "d_full1",
489
+ "custom_start": null,
490
+ "custom_end": null
491
+ },
492
+ {
493
+ "id": 9,
494
+ "period_id": 1,
495
+ "employee_id": 1,
496
+ "date": "2024-03-13",
497
+ "breakfast": 0,
498
+ "dinner": 1,
499
+ "note": "",
500
+ "pattern_id": "d_full1",
501
+ "custom_start": null,
502
+ "custom_end": null
503
+ },
504
+ {
505
+ "id": 10,
506
+ "period_id": 1,
507
+ "employee_id": 1,
508
+ "date": "2024-03-14",
509
+ "breakfast": 0,
510
+ "dinner": 1,
511
+ "note": "",
512
+ "pattern_id": "d_full1",
513
+ "custom_start": null,
514
+ "custom_end": null
515
+ },
516
+ {
517
+ "id": 11,
518
+ "period_id": 1,
519
+ "employee_id": 2,
520
+ "date": "2024-03-02",
521
+ "breakfast": 0,
522
+ "dinner": 1,
523
+ "note": "",
524
+ "pattern_id": "d_full1",
525
+ "custom_start": null,
526
+ "custom_end": null
527
+ },
528
+ {
529
+ "id": 12,
530
+ "period_id": 1,
531
+ "employee_id": 2,
532
+ "date": "2024-03-03",
533
+ "breakfast": 0,
534
+ "dinner": 1,
535
+ "note": "",
536
+ "pattern_id": "d_full1",
537
+ "custom_start": null,
538
+ "custom_end": null
539
+ },
540
+ {
541
+ "id": 13,
542
+ "period_id": 1,
543
+ "employee_id": 2,
544
+ "date": "2024-03-05",
545
+ "breakfast": 0,
546
+ "dinner": 1,
547
+ "note": "",
548
+ "pattern_id": "d_full1",
549
+ "custom_start": null,
550
+ "custom_end": null
551
+ },
552
+ {
553
+ "id": 14,
554
+ "period_id": 1,
555
+ "employee_id": 2,
556
+ "date": "2024-03-06",
557
+ "breakfast": 0,
558
+ "dinner": 1,
559
+ "note": "",
560
+ "pattern_id": "d_full1",
561
+ "custom_start": null,
562
+ "custom_end": null
563
+ },
564
+ {
565
+ "id": 15,
566
+ "period_id": 1,
567
+ "employee_id": 2,
568
+ "date": "2024-03-08",
569
+ "breakfast": 0,
570
+ "dinner": 1,
571
+ "note": "",
572
+ "pattern_id": "d_full1",
573
+ "custom_start": null,
574
+ "custom_end": null
575
+ },
576
+ {
577
+ "id": 16,
578
+ "period_id": 1,
579
+ "employee_id": 2,
580
+ "date": "2024-03-09",
581
+ "breakfast": 0,
582
+ "dinner": 1,
583
+ "note": "",
584
+ "pattern_id": "d_full1",
585
+ "custom_start": null,
586
+ "custom_end": null
587
+ },
588
+ {
589
+ "id": 17,
590
+ "period_id": 1,
591
+ "employee_id": 2,
592
+ "date": "2024-03-11",
593
+ "breakfast": 0,
594
+ "dinner": 1,
595
+ "note": "",
596
+ "pattern_id": "d_full1",
597
+ "custom_start": null,
598
+ "custom_end": null
599
+ },
600
+ {
601
+ "id": 18,
602
+ "period_id": 1,
603
+ "employee_id": 2,
604
+ "date": "2024-03-12",
605
+ "breakfast": 0,
606
+ "dinner": 1,
607
+ "note": "",
608
+ "pattern_id": "d_full1",
609
+ "custom_start": null,
610
+ "custom_end": null
611
+ },
612
+ {
613
+ "id": 19,
614
+ "period_id": 1,
615
+ "employee_id": 2,
616
+ "date": "2024-03-13",
617
+ "breakfast": 0,
618
+ "dinner": 1,
619
+ "note": "",
620
+ "pattern_id": "d_full1",
621
+ "custom_start": null,
622
+ "custom_end": null
623
+ },
624
+ {
625
+ "id": 20,
626
+ "period_id": 1,
627
+ "employee_id": 2,
628
+ "date": "2024-03-14",
629
+ "breakfast": 0,
630
+ "dinner": 0,
631
+ "note": "有給",
632
+ "pattern_id": null,
633
+ "custom_start": null,
634
+ "custom_end": null
635
+ },
636
+ {
637
+ "id": 21,
638
+ "period_id": 1,
639
+ "employee_id": 3,
640
+ "date": "2024-03-01",
641
+ "breakfast": 0,
642
+ "dinner": 1,
643
+ "note": "",
644
+ "pattern_id": "d_full1",
645
+ "custom_start": null,
646
+ "custom_end": null
647
+ },
648
+ {
649
+ "id": 22,
650
+ "period_id": 1,
651
+ "employee_id": 3,
652
+ "date": "2024-03-02",
653
+ "breakfast": 0,
654
+ "dinner": 1,
655
+ "note": "",
656
+ "pattern_id": "d_full1",
657
+ "custom_start": null,
658
+ "custom_end": null
659
+ },
660
+ {
661
+ "id": 23,
662
+ "period_id": 1,
663
+ "employee_id": 3,
664
+ "date": "2024-03-03",
665
+ "breakfast": 0,
666
+ "dinner": 1,
667
+ "note": "",
668
+ "pattern_id": "d_full1",
669
+ "custom_start": null,
670
+ "custom_end": null
671
+ },
672
+ {
673
+ "id": 24,
674
+ "period_id": 1,
675
+ "employee_id": 3,
676
+ "date": "2024-03-04",
677
+ "breakfast": 0,
678
+ "dinner": 1,
679
+ "note": "",
680
+ "pattern_id": "d_full1",
681
+ "custom_start": null,
682
+ "custom_end": null
683
+ },
684
+ {
685
+ "id": 25,
686
+ "period_id": 1,
687
+ "employee_id": 3,
688
+ "date": "2024-03-06",
689
+ "breakfast": 0,
690
+ "dinner": 1,
691
+ "note": "",
692
+ "pattern_id": "d_full1",
693
+ "custom_start": null,
694
+ "custom_end": null
695
+ },
696
+ {
697
+ "id": 26,
698
+ "period_id": 1,
699
+ "employee_id": 3,
700
+ "date": "2024-03-07",
701
+ "breakfast": 0,
702
+ "dinner": 1,
703
+ "note": "",
704
+ "pattern_id": "d_full1",
705
+ "custom_start": null,
706
+ "custom_end": null
707
+ },
708
+ {
709
+ "id": 27,
710
+ "period_id": 1,
711
+ "employee_id": 3,
712
+ "date": "2024-03-08",
713
+ "breakfast": 0,
714
+ "dinner": 1,
715
+ "note": "",
716
+ "pattern_id": "d_full1",
717
+ "custom_start": null,
718
+ "custom_end": null
719
+ },
720
+ {
721
+ "id": 28,
722
+ "period_id": 1,
723
+ "employee_id": 3,
724
+ "date": "2024-03-10",
725
+ "breakfast": 0,
726
+ "dinner": 1,
727
+ "note": "",
728
+ "pattern_id": "d_full1",
729
+ "custom_start": null,
730
+ "custom_end": null
731
+ },
732
+ {
733
+ "id": 29,
734
+ "period_id": 1,
735
+ "employee_id": 3,
736
+ "date": "2024-03-11",
737
+ "breakfast": 0,
738
+ "dinner": 1,
739
+ "note": "",
740
+ "pattern_id": "d_full1",
741
+ "custom_start": null,
742
+ "custom_end": null
743
+ },
744
+ {
745
+ "id": 30,
746
+ "period_id": 1,
747
+ "employee_id": 3,
748
+ "date": "2024-03-14",
749
+ "breakfast": 0,
750
+ "dinner": 1,
751
+ "note": "",
752
+ "pattern_id": "d_full1",
753
+ "custom_start": null,
754
+ "custom_end": null
755
+ },
756
+ {
757
+ "id": 31,
758
+ "period_id": 1,
759
+ "employee_id": 3,
760
+ "date": "2024-03-15",
761
+ "breakfast": 0,
762
+ "dinner": 1,
763
+ "note": "",
764
+ "pattern_id": "d_full1",
765
+ "custom_start": null,
766
+ "custom_end": null
767
+ },
768
+ {
769
+ "id": 32,
770
+ "period_id": 1,
771
+ "employee_id": 4,
772
+ "date": "2024-03-02",
773
+ "breakfast": 0,
774
+ "dinner": 1,
775
+ "note": "",
776
+ "pattern_id": "d_full2",
777
+ "custom_start": null,
778
+ "custom_end": null
779
+ },
780
+ {
781
+ "id": 33,
782
+ "period_id": 1,
783
+ "employee_id": 4,
784
+ "date": "2024-03-03",
785
+ "breakfast": 0,
786
+ "dinner": 1,
787
+ "note": "休憩4h",
788
+ "pattern_id": "custom",
789
+ "custom_start": "10:00",
790
+ "custom_end": "23:00"
791
+ },
792
+ {
793
+ "id": 34,
794
+ "period_id": 1,
795
+ "employee_id": 4,
796
+ "date": "2024-03-04",
797
+ "breakfast": 0,
798
+ "dinner": 1,
799
+ "note": "",
800
+ "pattern_id": "d_full2",
801
+ "custom_start": null,
802
+ "custom_end": null
803
+ },
804
+ {
805
+ "id": 35,
806
+ "period_id": 1,
807
+ "employee_id": 4,
808
+ "date": "2024-03-06",
809
+ "breakfast": 0,
810
+ "dinner": 1,
811
+ "note": "",
812
+ "pattern_id": "d_full2",
813
+ "custom_start": null,
814
+ "custom_end": null
815
+ },
816
+ {
817
+ "id": 36,
818
+ "period_id": 1,
819
+ "employee_id": 4,
820
+ "date": "2024-03-07",
821
+ "breakfast": 0,
822
+ "dinner": 1,
823
+ "note": "",
824
+ "pattern_id": "custom",
825
+ "custom_start": "10:00",
826
+ "custom_end": "19:00"
827
+ },
828
+ {
829
+ "id": 37,
830
+ "period_id": 1,
831
+ "employee_id": 4,
832
+ "date": "2024-03-08",
833
+ "breakfast": 0,
834
+ "dinner": 1,
835
+ "note": "",
836
+ "pattern_id": "d_full2",
837
+ "custom_start": null,
838
+ "custom_end": null
839
+ },
840
+ {
841
+ "id": 38,
842
+ "period_id": 1,
843
+ "employee_id": 4,
844
+ "date": "2024-03-10",
845
+ "breakfast": 0,
846
+ "dinner": 1,
847
+ "note": "",
848
+ "pattern_id": "d_full2",
849
+ "custom_start": null,
850
+ "custom_end": null
851
+ },
852
+ {
853
+ "id": 39,
854
+ "period_id": 1,
855
+ "employee_id": 4,
856
+ "date": "2024-03-11",
857
+ "breakfast": 0,
858
+ "dinner": 0,
859
+ "note": "有給",
860
+ "pattern_id": null,
861
+ "custom_start": null,
862
+ "custom_end": null
863
+ },
864
+ {
865
+ "id": 40,
866
+ "period_id": 1,
867
+ "employee_id": 4,
868
+ "date": "2024-03-12",
869
+ "breakfast": 0,
870
+ "dinner": 1,
871
+ "note": "",
872
+ "pattern_id": "d_full2",
873
+ "custom_start": null,
874
+ "custom_end": null
875
+ },
876
+ {
877
+ "id": 41,
878
+ "period_id": 1,
879
+ "employee_id": 5,
880
+ "date": "2024-03-01",
881
+ "breakfast": 0,
882
+ "dinner": 1,
883
+ "note": "",
884
+ "pattern_id": "d_full2",
885
+ "custom_start": null,
886
+ "custom_end": null
887
+ },
888
+ {
889
+ "id": 42,
890
+ "period_id": 1,
891
+ "employee_id": 5,
892
+ "date": "2024-03-02",
893
+ "breakfast": 0,
894
+ "dinner": 1,
895
+ "note": "",
896
+ "pattern_id": "d_full2",
897
+ "custom_start": null,
898
+ "custom_end": null
899
+ },
900
+ {
901
+ "id": 43,
902
+ "period_id": 1,
903
+ "employee_id": 5,
904
+ "date": "2024-03-05",
905
+ "breakfast": 0,
906
+ "dinner": 1,
907
+ "note": "",
908
+ "pattern_id": "d_full2",
909
+ "custom_start": null,
910
+ "custom_end": null
911
+ },
912
+ {
913
+ "id": 44,
914
+ "period_id": 1,
915
+ "employee_id": 5,
916
+ "date": "2024-03-06",
917
+ "breakfast": 0,
918
+ "dinner": 1,
919
+ "note": "",
920
+ "pattern_id": "d_full2",
921
+ "custom_start": null,
922
+ "custom_end": null
923
+ },
924
+ {
925
+ "id": 45,
926
+ "period_id": 1,
927
+ "employee_id": 5,
928
+ "date": "2024-03-07",
929
+ "breakfast": 0,
930
+ "dinner": 1,
931
+ "note": "",
932
+ "pattern_id": "d_full2",
933
+ "custom_start": null,
934
+ "custom_end": null
935
+ },
936
+ {
937
+ "id": 46,
938
+ "period_id": 1,
939
+ "employee_id": 5,
940
+ "date": "2024-03-09",
941
+ "breakfast": 0,
942
+ "dinner": 1,
943
+ "note": "",
944
+ "pattern_id": "d_full2",
945
+ "custom_start": null,
946
+ "custom_end": null
947
+ },
948
+ {
949
+ "id": 47,
950
+ "period_id": 1,
951
+ "employee_id": 5,
952
+ "date": "2024-03-11",
953
+ "breakfast": 0,
954
+ "dinner": 1,
955
+ "note": "",
956
+ "pattern_id": "d_full2",
957
+ "custom_start": null,
958
+ "custom_end": null
959
+ },
960
+ {
961
+ "id": 48,
962
+ "period_id": 1,
963
+ "employee_id": 5,
964
+ "date": "2024-03-12",
965
+ "breakfast": 0,
966
+ "dinner": 1,
967
+ "note": "",
968
+ "pattern_id": "d_full2",
969
+ "custom_start": null,
970
+ "custom_end": null
971
+ },
972
+ {
973
+ "id": 49,
974
+ "period_id": 1,
975
+ "employee_id": 5,
976
+ "date": "2024-03-13",
977
+ "breakfast": 0,
978
+ "dinner": 1,
979
+ "note": "",
980
+ "pattern_id": "custom",
981
+ "custom_start": "12:00",
982
+ "custom_end": "23:00"
983
+ },
984
+ {
985
+ "id": 50,
986
+ "period_id": 1,
987
+ "employee_id": 6,
988
+ "date": "2024-03-01",
989
+ "breakfast": 1,
990
+ "dinner": 0,
991
+ "note": "",
992
+ "pattern_id": "b_long",
993
+ "custom_start": null,
994
+ "custom_end": null
995
+ },
996
+ {
997
+ "id": 51,
998
+ "period_id": 1,
999
+ "employee_id": 6,
1000
+ "date": "2024-03-03",
1001
+ "breakfast": 0,
1002
+ "dinner": 1,
1003
+ "note": "",
1004
+ "pattern_id": "d_full2",
1005
+ "custom_start": null,
1006
+ "custom_end": null
1007
+ },
1008
+ {
1009
+ "id": 52,
1010
+ "period_id": 1,
1011
+ "employee_id": 6,
1012
+ "date": "2024-03-04",
1013
+ "breakfast": 0,
1014
+ "dinner": 1,
1015
+ "note": "",
1016
+ "pattern_id": "d_full2",
1017
+ "custom_start": null,
1018
+ "custom_end": null
1019
+ },
1020
+ {
1021
+ "id": 53,
1022
+ "period_id": 1,
1023
+ "employee_id": 6,
1024
+ "date": "2024-03-05",
1025
+ "breakfast": 0,
1026
+ "dinner": 1,
1027
+ "note": "",
1028
+ "pattern_id": "d_full2",
1029
+ "custom_start": null,
1030
+ "custom_end": null
1031
+ },
1032
+ {
1033
+ "id": 54,
1034
+ "period_id": 1,
1035
+ "employee_id": 6,
1036
+ "date": "2024-03-06",
1037
+ "breakfast": 1,
1038
+ "dinner": 0,
1039
+ "note": "",
1040
+ "pattern_id": "b_long",
1041
+ "custom_start": null,
1042
+ "custom_end": null
1043
+ },
1044
+ {
1045
+ "id": 55,
1046
+ "period_id": 1,
1047
+ "employee_id": 6,
1048
+ "date": "2024-03-09",
1049
+ "breakfast": 0,
1050
+ "dinner": 1,
1051
+ "note": "",
1052
+ "pattern_id": "d_full2",
1053
+ "custom_start": null,
1054
+ "custom_end": null
1055
+ },
1056
+ {
1057
+ "id": 56,
1058
+ "period_id": 1,
1059
+ "employee_id": 6,
1060
+ "date": "2024-03-10",
1061
+ "breakfast": 0,
1062
+ "dinner": 1,
1063
+ "note": "",
1064
+ "pattern_id": "d_full2",
1065
+ "custom_start": null,
1066
+ "custom_end": null
1067
+ },
1068
+ {
1069
+ "id": 57,
1070
+ "period_id": 1,
1071
+ "employee_id": 6,
1072
+ "date": "2024-03-11",
1073
+ "breakfast": 0,
1074
+ "dinner": 1,
1075
+ "note": "",
1076
+ "pattern_id": "d_full2",
1077
+ "custom_start": null,
1078
+ "custom_end": null
1079
+ },
1080
+ {
1081
+ "id": 58,
1082
+ "period_id": 1,
1083
+ "employee_id": 6,
1084
+ "date": "2024-03-12",
1085
+ "breakfast": 1,
1086
+ "dinner": 0,
1087
+ "note": "",
1088
+ "pattern_id": "b_long",
1089
+ "custom_start": null,
1090
+ "custom_end": null
1091
+ },
1092
+ {
1093
+ "id": 59,
1094
+ "period_id": 1,
1095
+ "employee_id": 7,
1096
+ "date": "2024-03-02",
1097
+ "breakfast": 1,
1098
+ "dinner": 0,
1099
+ "note": "",
1100
+ "pattern_id": "b_long",
1101
+ "custom_start": null,
1102
+ "custom_end": null
1103
+ },
1104
+ {
1105
+ "id": 60,
1106
+ "period_id": 1,
1107
+ "employee_id": 7,
1108
+ "date": "2024-03-03",
1109
+ "breakfast": 1,
1110
+ "dinner": 0,
1111
+ "note": "",
1112
+ "pattern_id": "custom",
1113
+ "custom_start": "05:45",
1114
+ "custom_end": "11:30"
1115
+ },
1116
+ {
1117
+ "id": 61,
1118
+ "period_id": 1,
1119
+ "employee_id": 7,
1120
+ "date": "2024-03-05",
1121
+ "breakfast": 1,
1122
+ "dinner": 0,
1123
+ "note": "",
1124
+ "pattern_id": "custom",
1125
+ "custom_start": "05:45",
1126
+ "custom_end": "11:30"
1127
+ },
1128
+ {
1129
+ "id": 62,
1130
+ "period_id": 1,
1131
+ "employee_id": 7,
1132
+ "date": "2024-03-06",
1133
+ "breakfast": 1,
1134
+ "dinner": 0,
1135
+ "note": "",
1136
+ "pattern_id": "b_long",
1137
+ "custom_start": null,
1138
+ "custom_end": null
1139
+ },
1140
+ {
1141
+ "id": 63,
1142
+ "period_id": 1,
1143
+ "employee_id": 7,
1144
+ "date": "2024-03-07",
1145
+ "breakfast": 1,
1146
+ "dinner": 0,
1147
+ "note": "",
1148
+ "pattern_id": "b_long",
1149
+ "custom_start": null,
1150
+ "custom_end": null
1151
+ },
1152
+ {
1153
+ "id": 64,
1154
+ "period_id": 1,
1155
+ "employee_id": 7,
1156
+ "date": "2024-03-08",
1157
+ "breakfast": 1,
1158
+ "dinner": 0,
1159
+ "note": "",
1160
+ "pattern_id": "custom",
1161
+ "custom_start": "05:45",
1162
+ "custom_end": "11:30"
1163
+ },
1164
+ {
1165
+ "id": 65,
1166
+ "period_id": 1,
1167
+ "employee_id": 7,
1168
+ "date": "2024-03-10",
1169
+ "breakfast": 1,
1170
+ "dinner": 0,
1171
+ "note": "",
1172
+ "pattern_id": "b_long",
1173
+ "custom_start": null,
1174
+ "custom_end": null
1175
+ },
1176
+ {
1177
+ "id": 66,
1178
+ "period_id": 1,
1179
+ "employee_id": 7,
1180
+ "date": "2024-03-11",
1181
+ "breakfast": 1,
1182
+ "dinner": 0,
1183
+ "note": "",
1184
+ "pattern_id": "b_long",
1185
+ "custom_start": null,
1186
+ "custom_end": null
1187
+ },
1188
+ {
1189
+ "id": 67,
1190
+ "period_id": 1,
1191
+ "employee_id": 7,
1192
+ "date": "2024-03-13",
1193
+ "breakfast": 1,
1194
+ "dinner": 0,
1195
+ "note": "",
1196
+ "pattern_id": "b_long",
1197
+ "custom_start": null,
1198
+ "custom_end": null
1199
+ },
1200
+ {
1201
+ "id": 68,
1202
+ "period_id": 1,
1203
+ "employee_id": 7,
1204
+ "date": "2024-03-15",
1205
+ "breakfast": 1,
1206
+ "dinner": 0,
1207
+ "note": "",
1208
+ "pattern_id": "b_long",
1209
+ "custom_start": null,
1210
+ "custom_end": null
1211
+ },
1212
+ {
1213
+ "id": 69,
1214
+ "period_id": 1,
1215
+ "employee_id": 8,
1216
+ "date": "2024-03-01",
1217
+ "breakfast": 1,
1218
+ "dinner": 0,
1219
+ "note": "",
1220
+ "pattern_id": "b_long",
1221
+ "custom_start": null,
1222
+ "custom_end": null
1223
+ },
1224
+ {
1225
+ "id": 70,
1226
+ "period_id": 1,
1227
+ "employee_id": 8,
1228
+ "date": "2024-03-03",
1229
+ "breakfast": 1,
1230
+ "dinner": 0,
1231
+ "note": "",
1232
+ "pattern_id": "b_long",
1233
+ "custom_start": null,
1234
+ "custom_end": null
1235
+ },
1236
+ {
1237
+ "id": 71,
1238
+ "period_id": 1,
1239
+ "employee_id": 8,
1240
+ "date": "2024-03-04",
1241
+ "breakfast": 1,
1242
+ "dinner": 0,
1243
+ "note": "",
1244
+ "pattern_id": "b_long",
1245
+ "custom_start": null,
1246
+ "custom_end": null
1247
+ },
1248
+ {
1249
+ "id": 72,
1250
+ "period_id": 1,
1251
+ "employee_id": 8,
1252
+ "date": "2024-03-05",
1253
+ "breakfast": 1,
1254
+ "dinner": 0,
1255
+ "note": "",
1256
+ "pattern_id": "custom",
1257
+ "custom_start": "05:45",
1258
+ "custom_end": "11:30"
1259
+ },
1260
+ {
1261
+ "id": 73,
1262
+ "period_id": 1,
1263
+ "employee_id": 8,
1264
+ "date": "2024-03-09",
1265
+ "breakfast": 1,
1266
+ "dinner": 0,
1267
+ "note": "",
1268
+ "pattern_id": "b_long",
1269
+ "custom_start": null,
1270
+ "custom_end": null
1271
+ },
1272
+ {
1273
+ "id": 74,
1274
+ "period_id": 1,
1275
+ "employee_id": 8,
1276
+ "date": "2024-03-10",
1277
+ "breakfast": 1,
1278
+ "dinner": 0,
1279
+ "note": "",
1280
+ "pattern_id": "custom",
1281
+ "custom_start": "05:45",
1282
+ "custom_end": "11:30"
1283
+ },
1284
+ {
1285
+ "id": 75,
1286
+ "period_id": 1,
1287
+ "employee_id": 8,
1288
+ "date": "2024-03-11",
1289
+ "breakfast": 1,
1290
+ "dinner": 0,
1291
+ "note": "",
1292
+ "pattern_id": "b_long",
1293
+ "custom_start": null,
1294
+ "custom_end": null
1295
+ },
1296
+ {
1297
+ "id": 76,
1298
+ "period_id": 1,
1299
+ "employee_id": 8,
1300
+ "date": "2024-03-12",
1301
+ "breakfast": 1,
1302
+ "dinner": 0,
1303
+ "note": "",
1304
+ "pattern_id": "b_long",
1305
+ "custom_start": null,
1306
+ "custom_end": null
1307
+ },
1308
+ {
1309
+ "id": 77,
1310
+ "period_id": 1,
1311
+ "employee_id": 9,
1312
+ "date": "2024-03-01",
1313
+ "breakfast": 1,
1314
+ "dinner": 0,
1315
+ "note": "",
1316
+ "pattern_id": "custom",
1317
+ "custom_start": "05:45",
1318
+ "custom_end": "11:30"
1319
+ },
1320
+ {
1321
+ "id": 78,
1322
+ "period_id": 1,
1323
+ "employee_id": 9,
1324
+ "date": "2024-03-02",
1325
+ "breakfast": 1,
1326
+ "dinner": 0,
1327
+ "note": "",
1328
+ "pattern_id": "custom",
1329
+ "custom_start": "05:45",
1330
+ "custom_end": "11:30"
1331
+ },
1332
+ {
1333
+ "id": 79,
1334
+ "period_id": 1,
1335
+ "employee_id": 9,
1336
+ "date": "2024-03-04",
1337
+ "breakfast": 1,
1338
+ "dinner": 0,
1339
+ "note": "",
1340
+ "pattern_id": "custom",
1341
+ "custom_start": "05:45",
1342
+ "custom_end": "11:30"
1343
+ },
1344
+ {
1345
+ "id": 80,
1346
+ "period_id": 1,
1347
+ "employee_id": 9,
1348
+ "date": "2024-03-05",
1349
+ "breakfast": 1,
1350
+ "dinner": 0,
1351
+ "note": "",
1352
+ "pattern_id": "b_long",
1353
+ "custom_start": null,
1354
+ "custom_end": null
1355
+ },
1356
+ {
1357
+ "id": 81,
1358
+ "period_id": 1,
1359
+ "employee_id": 9,
1360
+ "date": "2024-03-06",
1361
+ "breakfast": 1,
1362
+ "dinner": 0,
1363
+ "note": "",
1364
+ "pattern_id": "custom",
1365
+ "custom_start": "05:45",
1366
+ "custom_end": "11:30"
1367
+ },
1368
+ {
1369
+ "id": 82,
1370
+ "period_id": 1,
1371
+ "employee_id": 9,
1372
+ "date": "2024-03-08",
1373
+ "breakfast": 1,
1374
+ "dinner": 0,
1375
+ "note": "",
1376
+ "pattern_id": "b_long",
1377
+ "custom_start": null,
1378
+ "custom_end": null
1379
+ },
1380
+ {
1381
+ "id": 83,
1382
+ "period_id": 1,
1383
+ "employee_id": 9,
1384
+ "date": "2024-03-09",
1385
+ "breakfast": 1,
1386
+ "dinner": 0,
1387
+ "note": "",
1388
+ "pattern_id": "custom",
1389
+ "custom_start": "05:45",
1390
+ "custom_end": "11:30"
1391
+ },
1392
+ {
1393
+ "id": 84,
1394
+ "period_id": 1,
1395
+ "employee_id": 9,
1396
+ "date": "2024-03-10",
1397
+ "breakfast": 1,
1398
+ "dinner": 0,
1399
+ "note": "",
1400
+ "pattern_id": "custom",
1401
+ "custom_start": "05:45",
1402
+ "custom_end": "11:30"
1403
+ },
1404
+ {
1405
+ "id": 85,
1406
+ "period_id": 1,
1407
+ "employee_id": 9,
1408
+ "date": "2024-03-11",
1409
+ "breakfast": 1,
1410
+ "dinner": 0,
1411
+ "note": "",
1412
+ "pattern_id": "custom",
1413
+ "custom_start": "05:45",
1414
+ "custom_end": "11:30"
1415
+ },
1416
+ {
1417
+ "id": 86,
1418
+ "period_id": 1,
1419
+ "employee_id": 9,
1420
+ "date": "2024-03-13",
1421
+ "breakfast": 0,
1422
+ "dinner": 1,
1423
+ "note": "",
1424
+ "pattern_id": "custom",
1425
+ "custom_start": "17:00",
1426
+ "custom_end": "23:00"
1427
+ },
1428
+ {
1429
+ "id": 87,
1430
+ "period_id": 1,
1431
+ "employee_id": 9,
1432
+ "date": "2024-03-15",
1433
+ "breakfast": 1,
1434
+ "dinner": 0,
1435
+ "note": "",
1436
+ "pattern_id": "custom",
1437
+ "custom_start": "05:45",
1438
+ "custom_end": "11:30"
1439
+ },
1440
+ {
1441
+ "id": 88,
1442
+ "period_id": 1,
1443
+ "employee_id": 10,
1444
+ "date": "2024-03-01",
1445
+ "breakfast": 1,
1446
+ "dinner": 0,
1447
+ "note": "",
1448
+ "pattern_id": "custom",
1449
+ "custom_start": "06:00",
1450
+ "custom_end": "11:30"
1451
+ },
1452
+ {
1453
+ "id": 89,
1454
+ "period_id": 1,
1455
+ "employee_id": 10,
1456
+ "date": "2024-03-04",
1457
+ "breakfast": 1,
1458
+ "dinner": 0,
1459
+ "note": "",
1460
+ "pattern_id": "custom",
1461
+ "custom_start": "06:00",
1462
+ "custom_end": "11:30"
1463
+ },
1464
+ {
1465
+ "id": 90,
1466
+ "period_id": 1,
1467
+ "employee_id": 10,
1468
+ "date": "2024-03-08",
1469
+ "breakfast": 1,
1470
+ "dinner": 0,
1471
+ "note": "",
1472
+ "pattern_id": "custom",
1473
+ "custom_start": "06:00",
1474
+ "custom_end": "11:30"
1475
+ },
1476
+ {
1477
+ "id": 91,
1478
+ "period_id": 1,
1479
+ "employee_id": 10,
1480
+ "date": "2024-03-13",
1481
+ "breakfast": 1,
1482
+ "dinner": 0,
1483
+ "note": "",
1484
+ "pattern_id": "custom",
1485
+ "custom_start": "06:00",
1486
+ "custom_end": "11:30"
1487
+ },
1488
+ {
1489
+ "id": 92,
1490
+ "period_id": 1,
1491
+ "employee_id": 11,
1492
+ "date": "2024-03-01",
1493
+ "breakfast": 1,
1494
+ "dinner": 0,
1495
+ "note": "",
1496
+ "pattern_id": "custom",
1497
+ "custom_start": "06:00",
1498
+ "custom_end": "11:30"
1499
+ },
1500
+ {
1501
+ "id": 93,
1502
+ "period_id": 1,
1503
+ "employee_id": 11,
1504
+ "date": "2024-03-02",
1505
+ "breakfast": 1,
1506
+ "dinner": 0,
1507
+ "note": "",
1508
+ "pattern_id": "custom",
1509
+ "custom_start": "06:00",
1510
+ "custom_end": "11:30"
1511
+ },
1512
+ {
1513
+ "id": 94,
1514
+ "period_id": 1,
1515
+ "employee_id": 11,
1516
+ "date": "2024-03-03",
1517
+ "breakfast": 1,
1518
+ "dinner": 0,
1519
+ "note": "",
1520
+ "pattern_id": "custom",
1521
+ "custom_start": "06:00",
1522
+ "custom_end": "11:30"
1523
+ },
1524
+ {
1525
+ "id": 95,
1526
+ "period_id": 1,
1527
+ "employee_id": 11,
1528
+ "date": "2024-03-05",
1529
+ "breakfast": 1,
1530
+ "dinner": 0,
1531
+ "note": "",
1532
+ "pattern_id": "b_std",
1533
+ "custom_start": null,
1534
+ "custom_end": null
1535
+ },
1536
+ {
1537
+ "id": 96,
1538
+ "period_id": 1,
1539
+ "employee_id": 11,
1540
+ "date": "2024-03-09",
1541
+ "breakfast": 1,
1542
+ "dinner": 0,
1543
+ "note": "",
1544
+ "pattern_id": "custom",
1545
+ "custom_start": "06:00",
1546
+ "custom_end": "11:30"
1547
+ },
1548
+ {
1549
+ "id": 97,
1550
+ "period_id": 1,
1551
+ "employee_id": 11,
1552
+ "date": "2024-03-15",
1553
+ "breakfast": 1,
1554
+ "dinner": 0,
1555
+ "note": "",
1556
+ "pattern_id": "custom",
1557
+ "custom_start": "06:00",
1558
+ "custom_end": "11:30"
1559
+ },
1560
+ {
1561
+ "id": 98,
1562
+ "period_id": 1,
1563
+ "employee_id": 12,
1564
+ "date": "2024-03-06",
1565
+ "breakfast": 1,
1566
+ "dinner": 0,
1567
+ "note": "",
1568
+ "pattern_id": "custom",
1569
+ "custom_start": "06:00",
1570
+ "custom_end": "11:30"
1571
+ },
1572
+ {
1573
+ "id": 99,
1574
+ "period_id": 1,
1575
+ "employee_id": 12,
1576
+ "date": "2024-03-11",
1577
+ "breakfast": 1,
1578
+ "dinner": 0,
1579
+ "note": "",
1580
+ "pattern_id": "custom",
1581
+ "custom_start": "06:00",
1582
+ "custom_end": "11:30"
1583
+ },
1584
+ {
1585
+ "id": 100,
1586
+ "period_id": 1,
1587
+ "employee_id": 13,
1588
+ "date": "2024-03-07",
1589
+ "breakfast": 1,
1590
+ "dinner": 0,
1591
+ "note": "",
1592
+ "pattern_id": "custom",
1593
+ "custom_start": "06:00",
1594
+ "custom_end": "11:30"
1595
+ },
1596
+ {
1597
+ "id": 101,
1598
+ "period_id": 1,
1599
+ "employee_id": 13,
1600
+ "date": "2024-03-12",
1601
+ "breakfast": 1,
1602
+ "dinner": 0,
1603
+ "note": "",
1604
+ "pattern_id": "custom",
1605
+ "custom_start": "06:00",
1606
+ "custom_end": "11:30"
1607
+ },
1608
+ {
1609
+ "id": 102,
1610
+ "period_id": 1,
1611
+ "employee_id": 13,
1612
+ "date": "2024-03-14",
1613
+ "breakfast": 1,
1614
+ "dinner": 0,
1615
+ "note": "",
1616
+ "pattern_id": "custom",
1617
+ "custom_start": "06:00",
1618
+ "custom_end": "11:30"
1619
+ },
1620
+ {
1621
+ "id": 103,
1622
+ "period_id": 1,
1623
+ "employee_id": 14,
1624
+ "date": "2024-03-01",
1625
+ "breakfast": 1,
1626
+ "dinner": 0,
1627
+ "note": "",
1628
+ "pattern_id": "custom",
1629
+ "custom_start": "05:45",
1630
+ "custom_end": "11:30"
1631
+ },
1632
+ {
1633
+ "id": 104,
1634
+ "period_id": 1,
1635
+ "employee_id": 14,
1636
+ "date": "2024-03-04",
1637
+ "breakfast": 1,
1638
+ "dinner": 0,
1639
+ "note": "",
1640
+ "pattern_id": "custom",
1641
+ "custom_start": "05:45",
1642
+ "custom_end": "11:30"
1643
+ },
1644
+ {
1645
+ "id": 105,
1646
+ "period_id": 1,
1647
+ "employee_id": 14,
1648
+ "date": "2024-03-07",
1649
+ "breakfast": 1,
1650
+ "dinner": 0,
1651
+ "note": "",
1652
+ "pattern_id": "custom",
1653
+ "custom_start": "05:45",
1654
+ "custom_end": "11:30"
1655
+ },
1656
+ {
1657
+ "id": 106,
1658
+ "period_id": 1,
1659
+ "employee_id": 14,
1660
+ "date": "2024-03-08",
1661
+ "breakfast": 1,
1662
+ "dinner": 0,
1663
+ "note": "",
1664
+ "pattern_id": "custom",
1665
+ "custom_start": "05:45",
1666
+ "custom_end": "11:30"
1667
+ },
1668
+ {
1669
+ "id": 107,
1670
+ "period_id": 1,
1671
+ "employee_id": 14,
1672
+ "date": "2024-03-12",
1673
+ "breakfast": 1,
1674
+ "dinner": 0,
1675
+ "note": "",
1676
+ "pattern_id": "custom",
1677
+ "custom_start": "05:45",
1678
+ "custom_end": "11:30"
1679
+ },
1680
+ {
1681
+ "id": 108,
1682
+ "period_id": 1,
1683
+ "employee_id": 15,
1684
+ "date": "2024-03-03",
1685
+ "breakfast": 1,
1686
+ "dinner": 0,
1687
+ "note": "",
1688
+ "pattern_id": "custom",
1689
+ "custom_start": "05:45",
1690
+ "custom_end": "11:30"
1691
+ },
1692
+ {
1693
+ "id": 109,
1694
+ "period_id": 1,
1695
+ "employee_id": 15,
1696
+ "date": "2024-03-10",
1697
+ "breakfast": 1,
1698
+ "dinner": 0,
1699
+ "note": "",
1700
+ "pattern_id": "custom",
1701
+ "custom_start": "05:45",
1702
+ "custom_end": "11:30"
1703
+ },
1704
+ {
1705
+ "id": 110,
1706
+ "period_id": 1,
1707
+ "employee_id": 16,
1708
+ "date": "2024-03-02",
1709
+ "breakfast": 1,
1710
+ "dinner": 0,
1711
+ "note": "",
1712
+ "pattern_id": "custom",
1713
+ "custom_start": "06:00",
1714
+ "custom_end": "11:30"
1715
+ },
1716
+ {
1717
+ "id": 111,
1718
+ "period_id": 1,
1719
+ "employee_id": 16,
1720
+ "date": "2024-03-11",
1721
+ "breakfast": 1,
1722
+ "dinner": 0,
1723
+ "note": "",
1724
+ "pattern_id": "custom",
1725
+ "custom_start": "06:00",
1726
+ "custom_end": "11:30"
1727
+ },
1728
+ {
1729
+ "id": 112,
1730
+ "period_id": 1,
1731
+ "employee_id": 16,
1732
+ "date": "2024-03-14",
1733
+ "breakfast": 1,
1734
+ "dinner": 0,
1735
+ "note": "",
1736
+ "pattern_id": "custom",
1737
+ "custom_start": "06:00",
1738
+ "custom_end": "11:30"
1739
+ },
1740
+ {
1741
+ "id": 113,
1742
+ "period_id": 1,
1743
+ "employee_id": 17,
1744
+ "date": "2024-03-01",
1745
+ "breakfast": 1,
1746
+ "dinner": 0,
1747
+ "note": "朝初",
1748
+ "pattern_id": "custom",
1749
+ "custom_start": "06:00",
1750
+ "custom_end": "11:30"
1751
+ },
1752
+ {
1753
+ "id": 114,
1754
+ "period_id": 1,
1755
+ "employee_id": 17,
1756
+ "date": "2024-03-02",
1757
+ "breakfast": 1,
1758
+ "dinner": 0,
1759
+ "note": "",
1760
+ "pattern_id": "custom",
1761
+ "custom_start": "06:00",
1762
+ "custom_end": "11:30"
1763
+ },
1764
+ {
1765
+ "id": 115,
1766
+ "period_id": 1,
1767
+ "employee_id": 17,
1768
+ "date": "2024-03-05",
1769
+ "breakfast": 1,
1770
+ "dinner": 0,
1771
+ "note": "",
1772
+ "pattern_id": "custom",
1773
+ "custom_start": "06:00",
1774
+ "custom_end": "11:30"
1775
+ },
1776
+ {
1777
+ "id": 116,
1778
+ "period_id": 1,
1779
+ "employee_id": 17,
1780
+ "date": "2024-03-07",
1781
+ "breakfast": 1,
1782
+ "dinner": 0,
1783
+ "note": "",
1784
+ "pattern_id": "custom",
1785
+ "custom_start": "06:00",
1786
+ "custom_end": "11:30"
1787
+ },
1788
+ {
1789
+ "id": 117,
1790
+ "period_id": 1,
1791
+ "employee_id": 17,
1792
+ "date": "2024-03-08",
1793
+ "breakfast": 1,
1794
+ "dinner": 0,
1795
+ "note": "",
1796
+ "pattern_id": "custom",
1797
+ "custom_start": "06:00",
1798
+ "custom_end": "11:30"
1799
+ },
1800
+ {
1801
+ "id": 118,
1802
+ "period_id": 1,
1803
+ "employee_id": 17,
1804
+ "date": "2024-03-10",
1805
+ "breakfast": 1,
1806
+ "dinner": 0,
1807
+ "note": "",
1808
+ "pattern_id": "custom",
1809
+ "custom_start": "06:00",
1810
+ "custom_end": "11:30"
1811
+ },
1812
+ {
1813
+ "id": 119,
1814
+ "period_id": 1,
1815
+ "employee_id": 18,
1816
+ "date": "2024-03-09",
1817
+ "breakfast": 0,
1818
+ "dinner": 1,
1819
+ "note": "夜初",
1820
+ "pattern_id": "custom",
1821
+ "custom_start": "18:00",
1822
+ "custom_end": "22:30"
1823
+ },
1824
+ {
1825
+ "id": 120,
1826
+ "period_id": 1,
1827
+ "employee_id": 18,
1828
+ "date": "2024-03-10",
1829
+ "breakfast": 0,
1830
+ "dinner": 1,
1831
+ "note": "",
1832
+ "pattern_id": "custom",
1833
+ "custom_start": "18:00",
1834
+ "custom_end": "22:30"
1835
+ },
1836
+ {
1837
+ "id": 121,
1838
+ "period_id": 1,
1839
+ "employee_id": 19,
1840
+ "date": "2024-03-03",
1841
+ "breakfast": 1,
1842
+ "dinner": 0,
1843
+ "note": "",
1844
+ "pattern_id": "custom",
1845
+ "custom_start": "06:00",
1846
+ "custom_end": "11:30"
1847
+ },
1848
+ {
1849
+ "id": 122,
1850
+ "period_id": 1,
1851
+ "employee_id": 19,
1852
+ "date": "2024-03-06",
1853
+ "breakfast": 1,
1854
+ "dinner": 0,
1855
+ "note": "",
1856
+ "pattern_id": "custom",
1857
+ "custom_start": "06:00",
1858
+ "custom_end": "11:30"
1859
+ },
1860
+ {
1861
+ "id": 123,
1862
+ "period_id": 1,
1863
+ "employee_id": 19,
1864
+ "date": "2024-03-07",
1865
+ "breakfast": 1,
1866
+ "dinner": 0,
1867
+ "note": "",
1868
+ "pattern_id": "custom",
1869
+ "custom_start": "06:00",
1870
+ "custom_end": "11:30"
1871
+ },
1872
+ {
1873
+ "id": 124,
1874
+ "period_id": 1,
1875
+ "employee_id": 20,
1876
+ "date": "2024-03-02",
1877
+ "breakfast": 1,
1878
+ "dinner": 0,
1879
+ "note": "",
1880
+ "pattern_id": "custom",
1881
+ "custom_start": "06:00",
1882
+ "custom_end": "09:00"
1883
+ },
1884
+ {
1885
+ "id": 125,
1886
+ "period_id": 1,
1887
+ "employee_id": 20,
1888
+ "date": "2024-03-05",
1889
+ "breakfast": 1,
1890
+ "dinner": 0,
1891
+ "note": "",
1892
+ "pattern_id": "custom",
1893
+ "custom_start": "06:00",
1894
+ "custom_end": "09:00"
1895
+ },
1896
+ {
1897
+ "id": 126,
1898
+ "period_id": 1,
1899
+ "employee_id": 20,
1900
+ "date": "2024-03-07",
1901
+ "breakfast": 1,
1902
+ "dinner": 0,
1903
+ "note": "",
1904
+ "pattern_id": "custom",
1905
+ "custom_start": "06:00",
1906
+ "custom_end": "09:00"
1907
+ },
1908
+ {
1909
+ "id": 127,
1910
+ "period_id": 1,
1911
+ "employee_id": 20,
1912
+ "date": "2024-03-10",
1913
+ "breakfast": 1,
1914
+ "dinner": 0,
1915
+ "note": "",
1916
+ "pattern_id": "custom",
1917
+ "custom_start": "06:00",
1918
+ "custom_end": "09:00"
1919
+ },
1920
+ {
1921
+ "id": 128,
1922
+ "period_id": 1,
1923
+ "employee_id": 20,
1924
+ "date": "2024-03-14",
1925
+ "breakfast": 1,
1926
+ "dinner": 0,
1927
+ "note": "",
1928
+ "pattern_id": "custom",
1929
+ "custom_start": "06:00",
1930
+ "custom_end": "09:00"
1931
+ },
1932
+ {
1933
+ "id": 129,
1934
+ "period_id": 1,
1935
+ "employee_id": 21,
1936
+ "date": "2024-03-09",
1937
+ "breakfast": 1,
1938
+ "dinner": 0,
1939
+ "note": "",
1940
+ "pattern_id": "custom",
1941
+ "custom_start": "06:30",
1942
+ "custom_end": "10:00"
1943
+ },
1944
+ {
1945
+ "id": 130,
1946
+ "period_id": 1,
1947
+ "employee_id": 21,
1948
+ "date": "2024-03-14",
1949
+ "breakfast": 1,
1950
+ "dinner": 0,
1951
+ "note": "",
1952
+ "pattern_id": "custom",
1953
+ "custom_start": "06:30",
1954
+ "custom_end": "10:00"
1955
+ },
1956
+ {
1957
+ "id": 131,
1958
+ "period_id": 1,
1959
+ "employee_id": 22,
1960
+ "date": "2024-03-02",
1961
+ "breakfast": 1,
1962
+ "dinner": 0,
1963
+ "note": "",
1964
+ "pattern_id": "b_short",
1965
+ "custom_start": null,
1966
+ "custom_end": null
1967
+ },
1968
+ {
1969
+ "id": 132,
1970
+ "period_id": 1,
1971
+ "employee_id": 22,
1972
+ "date": "2024-03-04",
1973
+ "breakfast": 1,
1974
+ "dinner": 0,
1975
+ "note": "",
1976
+ "pattern_id": "b_short",
1977
+ "custom_start": null,
1978
+ "custom_end": null
1979
+ },
1980
+ {
1981
+ "id": 133,
1982
+ "period_id": 1,
1983
+ "employee_id": 22,
1984
+ "date": "2024-03-05",
1985
+ "breakfast": 1,
1986
+ "dinner": 0,
1987
+ "note": "",
1988
+ "pattern_id": "b_short",
1989
+ "custom_start": null,
1990
+ "custom_end": null
1991
+ },
1992
+ {
1993
+ "id": 134,
1994
+ "period_id": 1,
1995
+ "employee_id": 22,
1996
+ "date": "2024-03-07",
1997
+ "breakfast": 1,
1998
+ "dinner": 0,
1999
+ "note": "",
2000
+ "pattern_id": "b_short",
2001
+ "custom_start": null,
2002
+ "custom_end": null
2003
+ },
2004
+ {
2005
+ "id": 135,
2006
+ "period_id": 1,
2007
+ "employee_id": 22,
2008
+ "date": "2024-03-08",
2009
+ "breakfast": 1,
2010
+ "dinner": 0,
2011
+ "note": "",
2012
+ "pattern_id": "b_short",
2013
+ "custom_start": null,
2014
+ "custom_end": null
2015
+ },
2016
+ {
2017
+ "id": 136,
2018
+ "period_id": 1,
2019
+ "employee_id": 22,
2020
+ "date": "2024-03-11",
2021
+ "breakfast": 1,
2022
+ "dinner": 0,
2023
+ "note": "",
2024
+ "pattern_id": "custom",
2025
+ "custom_start": "06:30",
2026
+ "custom_end": "10:00"
2027
+ },
2028
+ {
2029
+ "id": 137,
2030
+ "period_id": 1,
2031
+ "employee_id": 22,
2032
+ "date": "2024-03-12",
2033
+ "breakfast": 1,
2034
+ "dinner": 0,
2035
+ "note": "",
2036
+ "pattern_id": "b_short",
2037
+ "custom_start": null,
2038
+ "custom_end": null
2039
+ },
2040
+ {
2041
+ "id": 138,
2042
+ "period_id": 1,
2043
+ "employee_id": 22,
2044
+ "date": "2024-03-14",
2045
+ "breakfast": 1,
2046
+ "dinner": 0,
2047
+ "note": "",
2048
+ "pattern_id": "b_short",
2049
+ "custom_start": null,
2050
+ "custom_end": null
2051
+ },
2052
+ {
2053
+ "id": 139,
2054
+ "period_id": 1,
2055
+ "employee_id": 23,
2056
+ "date": "2024-03-02",
2057
+ "breakfast": 1,
2058
+ "dinner": 0,
2059
+ "note": "",
2060
+ "pattern_id": "custom",
2061
+ "custom_start": "07:00",
2062
+ "custom_end": "11:00"
2063
+ },
2064
+ {
2065
+ "id": 140,
2066
+ "period_id": 1,
2067
+ "employee_id": 23,
2068
+ "date": "2024-03-03",
2069
+ "breakfast": 1,
2070
+ "dinner": 0,
2071
+ "note": "",
2072
+ "pattern_id": "custom",
2073
+ "custom_start": "07:00",
2074
+ "custom_end": "11:00"
2075
+ },
2076
+ {
2077
+ "id": 141,
2078
+ "period_id": 1,
2079
+ "employee_id": 23,
2080
+ "date": "2024-03-07",
2081
+ "breakfast": 1,
2082
+ "dinner": 0,
2083
+ "note": "",
2084
+ "pattern_id": "custom",
2085
+ "custom_start": "07:00",
2086
+ "custom_end": "11:00"
2087
+ },
2088
+ {
2089
+ "id": 142,
2090
+ "period_id": 1,
2091
+ "employee_id": 23,
2092
+ "date": "2024-03-09",
2093
+ "breakfast": 1,
2094
+ "dinner": 0,
2095
+ "note": "",
2096
+ "pattern_id": "custom",
2097
+ "custom_start": "06:30",
2098
+ "custom_end": "10:00"
2099
+ },
2100
+ {
2101
+ "id": 143,
2102
+ "period_id": 1,
2103
+ "employee_id": 23,
2104
+ "date": "2024-03-12",
2105
+ "breakfast": 0,
2106
+ "dinner": 1,
2107
+ "note": "",
2108
+ "pattern_id": "custom",
2109
+ "custom_start": "18:00",
2110
+ "custom_end": "22:30"
2111
+ },
2112
+ {
2113
+ "id": 144,
2114
+ "period_id": 1,
2115
+ "employee_id": 24,
2116
+ "date": "2024-03-04",
2117
+ "breakfast": 1,
2118
+ "dinner": 0,
2119
+ "note": "",
2120
+ "pattern_id": "custom",
2121
+ "custom_start": "06:00",
2122
+ "custom_end": "10:30"
2123
+ },
2124
+ {
2125
+ "id": 145,
2126
+ "period_id": 1,
2127
+ "employee_id": 24,
2128
+ "date": "2024-03-06",
2129
+ "breakfast": 1,
2130
+ "dinner": 0,
2131
+ "note": "",
2132
+ "pattern_id": "custom",
2133
+ "custom_start": "06:30",
2134
+ "custom_end": "10:00"
2135
+ },
2136
+ {
2137
+ "id": 146,
2138
+ "period_id": 1,
2139
+ "employee_id": 24,
2140
+ "date": "2024-03-07",
2141
+ "breakfast": 1,
2142
+ "dinner": 0,
2143
+ "note": "",
2144
+ "pattern_id": "b_short",
2145
+ "custom_start": null,
2146
+ "custom_end": null
2147
+ },
2148
+ {
2149
+ "id": 147,
2150
+ "period_id": 1,
2151
+ "employee_id": 24,
2152
+ "date": "2024-03-08",
2153
+ "breakfast": 1,
2154
+ "dinner": 0,
2155
+ "note": "",
2156
+ "pattern_id": "custom",
2157
+ "custom_start": "06:00",
2158
+ "custom_end": "10:30"
2159
+ },
2160
+ {
2161
+ "id": 148,
2162
+ "period_id": 1,
2163
+ "employee_id": 24,
2164
+ "date": "2024-03-12",
2165
+ "breakfast": 1,
2166
+ "dinner": 0,
2167
+ "note": "",
2168
+ "pattern_id": "custom",
2169
+ "custom_start": "06:30",
2170
+ "custom_end": "10:30"
2171
+ },
2172
+ {
2173
+ "id": 149,
2174
+ "period_id": 1,
2175
+ "employee_id": 24,
2176
+ "date": "2024-03-15",
2177
+ "breakfast": 0,
2178
+ "dinner": 1,
2179
+ "note": "",
2180
+ "pattern_id": "custom",
2181
+ "custom_start": "17:30",
2182
+ "custom_end": "22:00"
2183
+ },
2184
+ {
2185
+ "id": 150,
2186
+ "period_id": 1,
2187
+ "employee_id": 25,
2188
+ "date": "2024-03-02",
2189
+ "breakfast": 1,
2190
+ "dinner": 0,
2191
+ "note": "",
2192
+ "pattern_id": "custom",
2193
+ "custom_start": "06:00",
2194
+ "custom_end": "09:00"
2195
+ },
2196
+ {
2197
+ "id": 151,
2198
+ "period_id": 1,
2199
+ "employee_id": 25,
2200
+ "date": "2024-03-03",
2201
+ "breakfast": 1,
2202
+ "dinner": 0,
2203
+ "note": "",
2204
+ "pattern_id": "b_short",
2205
+ "custom_start": null,
2206
+ "custom_end": null
2207
+ },
2208
+ {
2209
+ "id": 152,
2210
+ "period_id": 1,
2211
+ "employee_id": 25,
2212
+ "date": "2024-03-08",
2213
+ "breakfast": 0,
2214
+ "dinner": 0,
2215
+ "note": "有給",
2216
+ "pattern_id": null,
2217
+ "custom_start": null,
2218
+ "custom_end": null
2219
+ },
2220
+ {
2221
+ "id": 153,
2222
+ "period_id": 1,
2223
+ "employee_id": 25,
2224
+ "date": "2024-03-11",
2225
+ "breakfast": 1,
2226
+ "dinner": 0,
2227
+ "note": "",
2228
+ "pattern_id": "custom",
2229
+ "custom_start": "06:00",
2230
+ "custom_end": "09:00"
2231
+ },
2232
+ {
2233
+ "id": 154,
2234
+ "period_id": 1,
2235
+ "employee_id": 25,
2236
+ "date": "2024-03-14",
2237
+ "breakfast": 1,
2238
+ "dinner": 0,
2239
+ "note": "",
2240
+ "pattern_id": "b_short",
2241
+ "custom_start": null,
2242
+ "custom_end": null
2243
+ },
2244
+ {
2245
+ "id": 155,
2246
+ "period_id": 1,
2247
+ "employee_id": 26,
2248
+ "date": "2024-03-01",
2249
+ "breakfast": 0,
2250
+ "dinner": 1,
2251
+ "note": "ホール兼任",
2252
+ "pattern_id": "custom",
2253
+ "custom_start": "18:30",
2254
+ "custom_end": "23:00"
2255
+ },
2256
+ {
2257
+ "id": 156,
2258
+ "period_id": 1,
2259
+ "employee_id": 26,
2260
+ "date": "2024-03-09",
2261
+ "breakfast": 0,
2262
+ "dinner": 1,
2263
+ "note": "ホール兼任",
2264
+ "pattern_id": "custom",
2265
+ "custom_start": "18:30",
2266
+ "custom_end": "23:00"
2267
+ },
2268
+ {
2269
+ "id": 157,
2270
+ "period_id": 1,
2271
+ "employee_id": 26,
2272
+ "date": "2024-03-10",
2273
+ "breakfast": 0,
2274
+ "dinner": 1,
2275
+ "note": "ホール兼任",
2276
+ "pattern_id": "d_std3",
2277
+ "custom_start": null,
2278
+ "custom_end": null
2279
+ },
2280
+ {
2281
+ "id": 158,
2282
+ "period_id": 1,
2283
+ "employee_id": 26,
2284
+ "date": "2024-03-11",
2285
+ "breakfast": 0,
2286
+ "dinner": 1,
2287
+ "note": "",
2288
+ "pattern_id": "custom",
2289
+ "custom_start": "18:30",
2290
+ "custom_end": "23:00"
2291
+ },
2292
+ {
2293
+ "id": 159,
2294
+ "period_id": 1,
2295
+ "employee_id": 26,
2296
+ "date": "2024-03-14",
2297
+ "breakfast": 0,
2298
+ "dinner": 1,
2299
+ "note": "",
2300
+ "pattern_id": "custom",
2301
+ "custom_start": "18:30",
2302
+ "custom_end": "23:00"
2303
+ },
2304
+ {
2305
+ "id": 160,
2306
+ "period_id": 1,
2307
+ "employee_id": 27,
2308
+ "date": "2024-03-01",
2309
+ "breakfast": 0,
2310
+ "dinner": 1,
2311
+ "note": "",
2312
+ "pattern_id": "d_std1",
2313
+ "custom_start": null,
2314
+ "custom_end": null
2315
+ },
2316
+ {
2317
+ "id": 161,
2318
+ "period_id": 1,
2319
+ "employee_id": 27,
2320
+ "date": "2024-03-03",
2321
+ "breakfast": 0,
2322
+ "dinner": 1,
2323
+ "note": "",
2324
+ "pattern_id": "d_std1",
2325
+ "custom_start": null,
2326
+ "custom_end": null
2327
+ },
2328
+ {
2329
+ "id": 162,
2330
+ "period_id": 1,
2331
+ "employee_id": 27,
2332
+ "date": "2024-03-05",
2333
+ "breakfast": 0,
2334
+ "dinner": 1,
2335
+ "note": "",
2336
+ "pattern_id": "d_std1",
2337
+ "custom_start": null,
2338
+ "custom_end": null
2339
+ },
2340
+ {
2341
+ "id": 163,
2342
+ "period_id": 1,
2343
+ "employee_id": 27,
2344
+ "date": "2024-03-07",
2345
+ "breakfast": 0,
2346
+ "dinner": 1,
2347
+ "note": "",
2348
+ "pattern_id": "d_std1",
2349
+ "custom_start": null,
2350
+ "custom_end": null
2351
+ },
2352
+ {
2353
+ "id": 164,
2354
+ "period_id": 1,
2355
+ "employee_id": 27,
2356
+ "date": "2024-03-09",
2357
+ "breakfast": 0,
2358
+ "dinner": 1,
2359
+ "note": "",
2360
+ "pattern_id": "d_std1",
2361
+ "custom_start": null,
2362
+ "custom_end": null
2363
+ },
2364
+ {
2365
+ "id": 165,
2366
+ "period_id": 1,
2367
+ "employee_id": 27,
2368
+ "date": "2024-03-10",
2369
+ "breakfast": 0,
2370
+ "dinner": 1,
2371
+ "note": "",
2372
+ "pattern_id": "d_std1",
2373
+ "custom_start": null,
2374
+ "custom_end": null
2375
+ },
2376
+ {
2377
+ "id": 166,
2378
+ "period_id": 1,
2379
+ "employee_id": 27,
2380
+ "date": "2024-03-11",
2381
+ "breakfast": 0,
2382
+ "dinner": 1,
2383
+ "note": "",
2384
+ "pattern_id": "d_std1",
2385
+ "custom_start": null,
2386
+ "custom_end": null
2387
+ },
2388
+ {
2389
+ "id": 167,
2390
+ "period_id": 1,
2391
+ "employee_id": 28,
2392
+ "date": "2024-03-02",
2393
+ "breakfast": 0,
2394
+ "dinner": 1,
2395
+ "note": "夜初",
2396
+ "pattern_id": "custom",
2397
+ "custom_start": "17:00",
2398
+ "custom_end": "23:00"
2399
+ },
2400
+ {
2401
+ "id": 168,
2402
+ "period_id": 1,
2403
+ "employee_id": 28,
2404
+ "date": "2024-03-04",
2405
+ "breakfast": 0,
2406
+ "dinner": 1,
2407
+ "note": "",
2408
+ "pattern_id": "custom",
2409
+ "custom_start": "17:00",
2410
+ "custom_end": "23:00"
2411
+ },
2412
+ {
2413
+ "id": 169,
2414
+ "period_id": 1,
2415
+ "employee_id": 28,
2416
+ "date": "2024-03-11",
2417
+ "breakfast": 0,
2418
+ "dinner": 1,
2419
+ "note": "",
2420
+ "pattern_id": "custom",
2421
+ "custom_start": "17:00",
2422
+ "custom_end": "23:00"
2423
+ },
2424
+ {
2425
+ "id": 170,
2426
+ "period_id": 1,
2427
+ "employee_id": 28,
2428
+ "date": "2024-03-12",
2429
+ "breakfast": 0,
2430
+ "dinner": 1,
2431
+ "note": "",
2432
+ "pattern_id": "custom",
2433
+ "custom_start": "17:00",
2434
+ "custom_end": "23:00"
2435
+ },
2436
+ {
2437
+ "id": 171,
2438
+ "period_id": 1,
2439
+ "employee_id": 29,
2440
+ "date": "2024-03-03",
2441
+ "breakfast": 0,
2442
+ "dinner": 1,
2443
+ "note": "",
2444
+ "pattern_id": "custom",
2445
+ "custom_start": "17:30",
2446
+ "custom_end": "22:30"
2447
+ },
2448
+ {
2449
+ "id": 172,
2450
+ "period_id": 1,
2451
+ "employee_id": 29,
2452
+ "date": "2024-03-11",
2453
+ "breakfast": 0,
2454
+ "dinner": 1,
2455
+ "note": "ホール兼任",
2456
+ "pattern_id": "custom",
2457
+ "custom_start": "17:30",
2458
+ "custom_end": "22:30"
2459
+ },
2460
+ {
2461
+ "id": 173,
2462
+ "period_id": 1,
2463
+ "employee_id": 30,
2464
+ "date": "2024-03-05",
2465
+ "breakfast": 0,
2466
+ "dinner": 1,
2467
+ "note": "",
2468
+ "pattern_id": "d_std2",
2469
+ "custom_start": null,
2470
+ "custom_end": null
2471
+ },
2472
+ {
2473
+ "id": 174,
2474
+ "period_id": 1,
2475
+ "employee_id": 30,
2476
+ "date": "2024-03-06",
2477
+ "breakfast": 0,
2478
+ "dinner": 1,
2479
+ "note": "",
2480
+ "pattern_id": "d_std2",
2481
+ "custom_start": null,
2482
+ "custom_end": null
2483
+ },
2484
+ {
2485
+ "id": 175,
2486
+ "period_id": 1,
2487
+ "employee_id": 30,
2488
+ "date": "2024-03-12",
2489
+ "breakfast": 0,
2490
+ "dinner": 1,
2491
+ "note": "",
2492
+ "pattern_id": "d_std2",
2493
+ "custom_start": null,
2494
+ "custom_end": null
2495
+ },
2496
+ {
2497
+ "id": 176,
2498
+ "period_id": 1,
2499
+ "employee_id": 30,
2500
+ "date": "2024-03-13",
2501
+ "breakfast": 0,
2502
+ "dinner": 1,
2503
+ "note": "",
2504
+ "pattern_id": "d_std2",
2505
+ "custom_start": null,
2506
+ "custom_end": null
2507
+ },
2508
+ {
2509
+ "id": 177,
2510
+ "period_id": 1,
2511
+ "employee_id": 31,
2512
+ "date": "2024-03-01",
2513
+ "breakfast": 0,
2514
+ "dinner": 1,
2515
+ "note": "",
2516
+ "pattern_id": "custom",
2517
+ "custom_start": "17:30",
2518
+ "custom_end": "22:00"
2519
+ },
2520
+ {
2521
+ "id": 178,
2522
+ "period_id": 1,
2523
+ "employee_id": 31,
2524
+ "date": "2024-03-03",
2525
+ "breakfast": 0,
2526
+ "dinner": 1,
2527
+ "note": "",
2528
+ "pattern_id": "d_s3",
2529
+ "custom_start": null,
2530
+ "custom_end": null
2531
+ },
2532
+ {
2533
+ "id": 179,
2534
+ "period_id": 1,
2535
+ "employee_id": 31,
2536
+ "date": "2024-03-04",
2537
+ "breakfast": 0,
2538
+ "dinner": 1,
2539
+ "note": "",
2540
+ "pattern_id": "d_s3",
2541
+ "custom_start": null,
2542
+ "custom_end": null
2543
+ },
2544
+ {
2545
+ "id": 180,
2546
+ "period_id": 1,
2547
+ "employee_id": 31,
2548
+ "date": "2024-03-05",
2549
+ "breakfast": 0,
2550
+ "dinner": 1,
2551
+ "note": "",
2552
+ "pattern_id": "d_std3",
2553
+ "custom_start": null,
2554
+ "custom_end": null
2555
+ },
2556
+ {
2557
+ "id": 181,
2558
+ "period_id": 1,
2559
+ "employee_id": 31,
2560
+ "date": "2024-03-06",
2561
+ "breakfast": 0,
2562
+ "dinner": 1,
2563
+ "note": "",
2564
+ "pattern_id": "custom",
2565
+ "custom_start": "17:30",
2566
+ "custom_end": "21:00"
2567
+ },
2568
+ {
2569
+ "id": 182,
2570
+ "period_id": 1,
2571
+ "employee_id": 31,
2572
+ "date": "2024-03-08",
2573
+ "breakfast": 0,
2574
+ "dinner": 1,
2575
+ "note": "",
2576
+ "pattern_id": "custom",
2577
+ "custom_start": "17:30",
2578
+ "custom_end": "21:00"
2579
+ },
2580
+ {
2581
+ "id": 183,
2582
+ "period_id": 1,
2583
+ "employee_id": 31,
2584
+ "date": "2024-03-09",
2585
+ "breakfast": 0,
2586
+ "dinner": 1,
2587
+ "note": "キッチン兼任",
2588
+ "pattern_id": "custom",
2589
+ "custom_start": "18:45",
2590
+ "custom_end": "22:00"
2591
+ },
2592
+ {
2593
+ "id": 184,
2594
+ "period_id": 1,
2595
+ "employee_id": 31,
2596
+ "date": "2024-03-11",
2597
+ "breakfast": 0,
2598
+ "dinner": 1,
2599
+ "note": "",
2600
+ "pattern_id": "d_std3",
2601
+ "custom_start": null,
2602
+ "custom_end": null
2603
+ },
2604
+ {
2605
+ "id": 185,
2606
+ "period_id": 1,
2607
+ "employee_id": 31,
2608
+ "date": "2024-03-15",
2609
+ "breakfast": 0,
2610
+ "dinner": 1,
2611
+ "note": "",
2612
+ "pattern_id": "custom",
2613
+ "custom_start": "17:30",
2614
+ "custom_end": "22:00"
2615
+ },
2616
+ {
2617
+ "id": 186,
2618
+ "period_id": 1,
2619
+ "employee_id": 32,
2620
+ "date": "2024-03-02",
2621
+ "breakfast": 0,
2622
+ "dinner": 1,
2623
+ "note": "",
2624
+ "pattern_id": "custom",
2625
+ "custom_start": "18:00",
2626
+ "custom_end": "22:30"
2627
+ },
2628
+ {
2629
+ "id": 187,
2630
+ "period_id": 1,
2631
+ "employee_id": 32,
2632
+ "date": "2024-03-06",
2633
+ "breakfast": 0,
2634
+ "dinner": 1,
2635
+ "note": "",
2636
+ "pattern_id": "custom",
2637
+ "custom_start": "18:30",
2638
+ "custom_end": "22:30"
2639
+ },
2640
+ {
2641
+ "id": 188,
2642
+ "period_id": 1,
2643
+ "employee_id": 32,
2644
+ "date": "2024-03-07",
2645
+ "breakfast": 0,
2646
+ "dinner": 1,
2647
+ "note": "",
2648
+ "pattern_id": "custom",
2649
+ "custom_start": "18:00",
2650
+ "custom_end": "22:30"
2651
+ },
2652
+ {
2653
+ "id": 189,
2654
+ "period_id": 1,
2655
+ "employee_id": 32,
2656
+ "date": "2024-03-09",
2657
+ "breakfast": 0,
2658
+ "dinner": 1,
2659
+ "note": "",
2660
+ "pattern_id": "custom",
2661
+ "custom_start": "18:00",
2662
+ "custom_end": "22:30"
2663
+ },
2664
+ {
2665
+ "id": 190,
2666
+ "period_id": 1,
2667
+ "employee_id": 33,
2668
+ "date": "2024-03-04",
2669
+ "breakfast": 0,
2670
+ "dinner": 1,
2671
+ "note": "",
2672
+ "pattern_id": "custom",
2673
+ "custom_start": "18:30",
2674
+ "custom_end": "23:00"
2675
+ },
2676
+ {
2677
+ "id": 191,
2678
+ "period_id": 1,
2679
+ "employee_id": 33,
2680
+ "date": "2024-03-06",
2681
+ "breakfast": 0,
2682
+ "dinner": 1,
2683
+ "note": "",
2684
+ "pattern_id": "d_std3",
2685
+ "custom_start": null,
2686
+ "custom_end": null
2687
+ },
2688
+ {
2689
+ "id": 192,
2690
+ "period_id": 1,
2691
+ "employee_id": 33,
2692
+ "date": "2024-03-08",
2693
+ "breakfast": 0,
2694
+ "dinner": 1,
2695
+ "note": "",
2696
+ "pattern_id": "custom",
2697
+ "custom_start": "18:30",
2698
+ "custom_end": "23:00"
2699
+ },
2700
+ {
2701
+ "id": 193,
2702
+ "period_id": 1,
2703
+ "employee_id": 33,
2704
+ "date": "2024-03-13",
2705
+ "breakfast": 0,
2706
+ "dinner": 1,
2707
+ "note": "",
2708
+ "pattern_id": "custom",
2709
+ "custom_start": "18:30",
2710
+ "custom_end": "23:00"
2711
+ },
2712
+ {
2713
+ "id": 194,
2714
+ "period_id": 1,
2715
+ "employee_id": 34,
2716
+ "date": "2024-03-01",
2717
+ "breakfast": 1,
2718
+ "dinner": 0,
2719
+ "note": "",
2720
+ "pattern_id": "b_std",
2721
+ "custom_start": null,
2722
+ "custom_end": null
2723
+ },
2724
+ {
2725
+ "id": 195,
2726
+ "period_id": 1,
2727
+ "employee_id": 34,
2728
+ "date": "2024-03-04",
2729
+ "breakfast": 1,
2730
+ "dinner": 0,
2731
+ "note": "",
2732
+ "pattern_id": "b_std",
2733
+ "custom_start": null,
2734
+ "custom_end": null
2735
+ },
2736
+ {
2737
+ "id": 196,
2738
+ "period_id": 1,
2739
+ "employee_id": 34,
2740
+ "date": "2024-03-06",
2741
+ "breakfast": 0,
2742
+ "dinner": 1,
2743
+ "note": "",
2744
+ "pattern_id": "d_std3",
2745
+ "custom_start": null,
2746
+ "custom_end": null
2747
+ },
2748
+ {
2749
+ "id": 197,
2750
+ "period_id": 1,
2751
+ "employee_id": 34,
2752
+ "date": "2024-03-14",
2753
+ "breakfast": 0,
2754
+ "dinner": 1,
2755
+ "note": "",
2756
+ "pattern_id": "d_std3",
2757
+ "custom_start": null,
2758
+ "custom_end": null
2759
+ },
2760
+ {
2761
+ "id": 198,
2762
+ "period_id": 1,
2763
+ "employee_id": 34,
2764
+ "date": "2024-03-15",
2765
+ "breakfast": 0,
2766
+ "dinner": 1,
2767
+ "note": "",
2768
+ "pattern_id": "d_std3",
2769
+ "custom_start": null,
2770
+ "custom_end": null
2771
+ },
2772
+ {
2773
+ "id": 199,
2774
+ "period_id": 1,
2775
+ "employee_id": 35,
2776
+ "date": "2024-03-03",
2777
+ "breakfast": 0,
2778
+ "dinner": 1,
2779
+ "note": "キッチン",
2780
+ "pattern_id": "d_std2",
2781
+ "custom_start": null,
2782
+ "custom_end": null
2783
+ },
2784
+ {
2785
+ "id": 200,
2786
+ "period_id": 1,
2787
+ "employee_id": 35,
2788
+ "date": "2024-03-04",
2789
+ "breakfast": 0,
2790
+ "dinner": 1,
2791
+ "note": "",
2792
+ "pattern_id": "d_std3",
2793
+ "custom_start": null,
2794
+ "custom_end": null
2795
+ },
2796
+ {
2797
+ "id": 201,
2798
+ "period_id": 1,
2799
+ "employee_id": 35,
2800
+ "date": "2024-03-05",
2801
+ "breakfast": 0,
2802
+ "dinner": 1,
2803
+ "note": "",
2804
+ "pattern_id": "custom",
2805
+ "custom_start": "17:00",
2806
+ "custom_end": "23:00"
2807
+ },
2808
+ {
2809
+ "id": 202,
2810
+ "period_id": 1,
2811
+ "employee_id": 35,
2812
+ "date": "2024-03-07",
2813
+ "breakfast": 0,
2814
+ "dinner": 1,
2815
+ "note": "",
2816
+ "pattern_id": "d_std3",
2817
+ "custom_start": null,
2818
+ "custom_end": null
2819
+ },
2820
+ {
2821
+ "id": 203,
2822
+ "period_id": 1,
2823
+ "employee_id": 35,
2824
+ "date": "2024-03-08",
2825
+ "breakfast": 0,
2826
+ "dinner": 1,
2827
+ "note": "",
2828
+ "pattern_id": "d_std2",
2829
+ "custom_start": null,
2830
+ "custom_end": null
2831
+ },
2832
+ {
2833
+ "id": 204,
2834
+ "period_id": 1,
2835
+ "employee_id": 35,
2836
+ "date": "2024-03-11",
2837
+ "breakfast": 0,
2838
+ "dinner": 1,
2839
+ "note": "",
2840
+ "pattern_id": "d_std3",
2841
+ "custom_start": null,
2842
+ "custom_end": null
2843
+ },
2844
+ {
2845
+ "id": 205,
2846
+ "period_id": 1,
2847
+ "employee_id": 35,
2848
+ "date": "2024-03-13",
2849
+ "breakfast": 0,
2850
+ "dinner": 1,
2851
+ "note": "",
2852
+ "pattern_id": "custom",
2853
+ "custom_start": "17:00",
2854
+ "custom_end": "23:00"
2855
+ },
2856
+ {
2857
+ "id": 206,
2858
+ "period_id": 1,
2859
+ "employee_id": 35,
2860
+ "date": "2024-03-14",
2861
+ "breakfast": 0,
2862
+ "dinner": 1,
2863
+ "note": "",
2864
+ "pattern_id": "d_std3",
2865
+ "custom_start": null,
2866
+ "custom_end": null
2867
+ },
2868
+ {
2869
+ "id": 207,
2870
+ "period_id": 1,
2871
+ "employee_id": 36,
2872
+ "date": "2024-03-06",
2873
+ "breakfast": 0,
2874
+ "dinner": 1,
2875
+ "note": "キッチン兼任",
2876
+ "pattern_id": "custom",
2877
+ "custom_start": "18:00",
2878
+ "custom_end": "21:30"
2879
+ },
2880
+ {
2881
+ "id": 208,
2882
+ "period_id": 1,
2883
+ "employee_id": 36,
2884
+ "date": "2024-03-09",
2885
+ "breakfast": 0,
2886
+ "dinner": 1,
2887
+ "note": "",
2888
+ "pattern_id": "custom",
2889
+ "custom_start": "18:00",
2890
+ "custom_end": "21:30"
2891
+ },
2892
+ {
2893
+ "id": 209,
2894
+ "period_id": 1,
2895
+ "employee_id": 38,
2896
+ "date": "2024-03-11",
2897
+ "breakfast": 0,
2898
+ "dinner": 1,
2899
+ "note": "",
2900
+ "pattern_id": "custom",
2901
+ "custom_start": "18:00",
2902
+ "custom_end": "21:00"
2903
+ },
2904
+ {
2905
+ "id": 210,
2906
+ "period_id": 1,
2907
+ "employee_id": 38,
2908
+ "date": "2024-03-12",
2909
+ "breakfast": 0,
2910
+ "dinner": 1,
2911
+ "note": "",
2912
+ "pattern_id": "custom",
2913
+ "custom_start": "18:00",
2914
+ "custom_end": "21:00"
2915
+ }
2916
+ ],
2917
+ "shift_assignments": [
2918
+ {
2919
+ "id": 1,
2920
+ "period_id": 1,
2921
+ "employee_id": 1,
2922
+ "date": "2024-03-01",
2923
+ "time_slot": "dinner",
2924
+ "position": "hall"
2925
+ },
2926
+ {
2927
+ "id": 2,
2928
+ "period_id": 1,
2929
+ "employee_id": 1,
2930
+ "date": "2024-03-03",
2931
+ "time_slot": "dinner",
2932
+ "position": "hall"
2933
+ },
2934
+ {
2935
+ "id": 3,
2936
+ "period_id": 1,
2937
+ "employee_id": 1,
2938
+ "date": "2024-03-04",
2939
+ "time_slot": "dinner",
2940
+ "position": "hall"
2941
+ },
2942
+ {
2943
+ "id": 4,
2944
+ "period_id": 1,
2945
+ "employee_id": 1,
2946
+ "date": "2024-03-06",
2947
+ "time_slot": "dinner",
2948
+ "position": "hall"
2949
+ },
2950
+ {
2951
+ "id": 5,
2952
+ "period_id": 1,
2953
+ "employee_id": 1,
2954
+ "date": "2024-03-08",
2955
+ "time_slot": "dinner",
2956
+ "position": "hall"
2957
+ },
2958
+ {
2959
+ "id": 6,
2960
+ "period_id": 1,
2961
+ "employee_id": 1,
2962
+ "date": "2024-03-10",
2963
+ "time_slot": "dinner",
2964
+ "position": "hall"
2965
+ },
2966
+ {
2967
+ "id": 7,
2968
+ "period_id": 1,
2969
+ "employee_id": 1,
2970
+ "date": "2024-03-11",
2971
+ "time_slot": "dinner",
2972
+ "position": "hall"
2973
+ },
2974
+ {
2975
+ "id": 8,
2976
+ "period_id": 1,
2977
+ "employee_id": 1,
2978
+ "date": "2024-03-13",
2979
+ "time_slot": "dinner",
2980
+ "position": "hall"
2981
+ },
2982
+ {
2983
+ "id": 9,
2984
+ "period_id": 1,
2985
+ "employee_id": 1,
2986
+ "date": "2024-03-14",
2987
+ "time_slot": "dinner",
2988
+ "position": "hall"
2989
+ },
2990
+ {
2991
+ "id": 10,
2992
+ "period_id": 1,
2993
+ "employee_id": 2,
2994
+ "date": "2024-03-02",
2995
+ "time_slot": "dinner",
2996
+ "position": "hall"
2997
+ },
2998
+ {
2999
+ "id": 11,
3000
+ "period_id": 1,
3001
+ "employee_id": 2,
3002
+ "date": "2024-03-03",
3003
+ "time_slot": "dinner",
3004
+ "position": "hall"
3005
+ },
3006
+ {
3007
+ "id": 12,
3008
+ "period_id": 1,
3009
+ "employee_id": 2,
3010
+ "date": "2024-03-05",
3011
+ "time_slot": "dinner",
3012
+ "position": "hall"
3013
+ },
3014
+ {
3015
+ "id": 13,
3016
+ "period_id": 1,
3017
+ "employee_id": 2,
3018
+ "date": "2024-03-06",
3019
+ "time_slot": "dinner",
3020
+ "position": "hall"
3021
+ },
3022
+ {
3023
+ "id": 14,
3024
+ "period_id": 1,
3025
+ "employee_id": 2,
3026
+ "date": "2024-03-08",
3027
+ "time_slot": "dinner",
3028
+ "position": "hall"
3029
+ },
3030
+ {
3031
+ "id": 15,
3032
+ "period_id": 1,
3033
+ "employee_id": 2,
3034
+ "date": "2024-03-09",
3035
+ "time_slot": "dinner",
3036
+ "position": "hall"
3037
+ },
3038
+ {
3039
+ "id": 16,
3040
+ "period_id": 1,
3041
+ "employee_id": 2,
3042
+ "date": "2024-03-11",
3043
+ "time_slot": "dinner",
3044
+ "position": "hall"
3045
+ },
3046
+ {
3047
+ "id": 17,
3048
+ "period_id": 1,
3049
+ "employee_id": 2,
3050
+ "date": "2024-03-12",
3051
+ "time_slot": "dinner",
3052
+ "position": "hall"
3053
+ },
3054
+ {
3055
+ "id": 18,
3056
+ "period_id": 1,
3057
+ "employee_id": 2,
3058
+ "date": "2024-03-13",
3059
+ "time_slot": "dinner",
3060
+ "position": "hall"
3061
+ },
3062
+ {
3063
+ "id": 19,
3064
+ "period_id": 1,
3065
+ "employee_id": 3,
3066
+ "date": "2024-03-01",
3067
+ "time_slot": "dinner",
3068
+ "position": "hall"
3069
+ },
3070
+ {
3071
+ "id": 20,
3072
+ "period_id": 1,
3073
+ "employee_id": 3,
3074
+ "date": "2024-03-02",
3075
+ "time_slot": "dinner",
3076
+ "position": "hall"
3077
+ },
3078
+ {
3079
+ "id": 21,
3080
+ "period_id": 1,
3081
+ "employee_id": 3,
3082
+ "date": "2024-03-03",
3083
+ "time_slot": "dinner",
3084
+ "position": "hall"
3085
+ },
3086
+ {
3087
+ "id": 22,
3088
+ "period_id": 1,
3089
+ "employee_id": 3,
3090
+ "date": "2024-03-04",
3091
+ "time_slot": "dinner",
3092
+ "position": "hall"
3093
+ },
3094
+ {
3095
+ "id": 23,
3096
+ "period_id": 1,
3097
+ "employee_id": 3,
3098
+ "date": "2024-03-06",
3099
+ "time_slot": "dinner",
3100
+ "position": "hall"
3101
+ },
3102
+ {
3103
+ "id": 24,
3104
+ "period_id": 1,
3105
+ "employee_id": 3,
3106
+ "date": "2024-03-07",
3107
+ "time_slot": "dinner",
3108
+ "position": "hall"
3109
+ },
3110
+ {
3111
+ "id": 25,
3112
+ "period_id": 1,
3113
+ "employee_id": 3,
3114
+ "date": "2024-03-08",
3115
+ "time_slot": "dinner",
3116
+ "position": "hall"
3117
+ },
3118
+ {
3119
+ "id": 26,
3120
+ "period_id": 1,
3121
+ "employee_id": 3,
3122
+ "date": "2024-03-10",
3123
+ "time_slot": "dinner",
3124
+ "position": "hall"
3125
+ },
3126
+ {
3127
+ "id": 27,
3128
+ "period_id": 1,
3129
+ "employee_id": 3,
3130
+ "date": "2024-03-11",
3131
+ "time_slot": "dinner",
3132
+ "position": "hall"
3133
+ },
3134
+ {
3135
+ "id": 28,
3136
+ "period_id": 1,
3137
+ "employee_id": 3,
3138
+ "date": "2024-03-14",
3139
+ "time_slot": "dinner",
3140
+ "position": "hall"
3141
+ },
3142
+ {
3143
+ "id": 29,
3144
+ "period_id": 1,
3145
+ "employee_id": 3,
3146
+ "date": "2024-03-15",
3147
+ "time_slot": "dinner",
3148
+ "position": "hall"
3149
+ },
3150
+ {
3151
+ "id": 30,
3152
+ "period_id": 1,
3153
+ "employee_id": 4,
3154
+ "date": "2024-03-02",
3155
+ "time_slot": "dinner",
3156
+ "position": "kitchen"
3157
+ },
3158
+ {
3159
+ "id": 31,
3160
+ "period_id": 1,
3161
+ "employee_id": 4,
3162
+ "date": "2024-03-03",
3163
+ "time_slot": "dinner",
3164
+ "position": "kitchen"
3165
+ },
3166
+ {
3167
+ "id": 32,
3168
+ "period_id": 1,
3169
+ "employee_id": 4,
3170
+ "date": "2024-03-04",
3171
+ "time_slot": "dinner",
3172
+ "position": "kitchen"
3173
+ },
3174
+ {
3175
+ "id": 33,
3176
+ "period_id": 1,
3177
+ "employee_id": 4,
3178
+ "date": "2024-03-06",
3179
+ "time_slot": "dinner",
3180
+ "position": "kitchen"
3181
+ },
3182
+ {
3183
+ "id": 34,
3184
+ "period_id": 1,
3185
+ "employee_id": 4,
3186
+ "date": "2024-03-07",
3187
+ "time_slot": "dinner",
3188
+ "position": "kitchen"
3189
+ },
3190
+ {
3191
+ "id": 35,
3192
+ "period_id": 1,
3193
+ "employee_id": 4,
3194
+ "date": "2024-03-08",
3195
+ "time_slot": "dinner",
3196
+ "position": "kitchen"
3197
+ },
3198
+ {
3199
+ "id": 36,
3200
+ "period_id": 1,
3201
+ "employee_id": 4,
3202
+ "date": "2024-03-10",
3203
+ "time_slot": "dinner",
3204
+ "position": "kitchen"
3205
+ },
3206
+ {
3207
+ "id": 37,
3208
+ "period_id": 1,
3209
+ "employee_id": 4,
3210
+ "date": "2024-03-12",
3211
+ "time_slot": "dinner",
3212
+ "position": "kitchen"
3213
+ },
3214
+ {
3215
+ "id": 38,
3216
+ "period_id": 1,
3217
+ "employee_id": 5,
3218
+ "date": "2024-03-01",
3219
+ "time_slot": "dinner",
3220
+ "position": "kitchen"
3221
+ },
3222
+ {
3223
+ "id": 39,
3224
+ "period_id": 1,
3225
+ "employee_id": 5,
3226
+ "date": "2024-03-02",
3227
+ "time_slot": "dinner",
3228
+ "position": "kitchen"
3229
+ },
3230
+ {
3231
+ "id": 40,
3232
+ "period_id": 1,
3233
+ "employee_id": 5,
3234
+ "date": "2024-03-05",
3235
+ "time_slot": "dinner",
3236
+ "position": "kitchen"
3237
+ },
3238
+ {
3239
+ "id": 41,
3240
+ "period_id": 1,
3241
+ "employee_id": 5,
3242
+ "date": "2024-03-06",
3243
+ "time_slot": "dinner",
3244
+ "position": "kitchen"
3245
+ },
3246
+ {
3247
+ "id": 42,
3248
+ "period_id": 1,
3249
+ "employee_id": 5,
3250
+ "date": "2024-03-07",
3251
+ "time_slot": "dinner",
3252
+ "position": "kitchen"
3253
+ },
3254
+ {
3255
+ "id": 43,
3256
+ "period_id": 1,
3257
+ "employee_id": 5,
3258
+ "date": "2024-03-09",
3259
+ "time_slot": "dinner",
3260
+ "position": "kitchen"
3261
+ },
3262
+ {
3263
+ "id": 44,
3264
+ "period_id": 1,
3265
+ "employee_id": 5,
3266
+ "date": "2024-03-11",
3267
+ "time_slot": "dinner",
3268
+ "position": "kitchen"
3269
+ },
3270
+ {
3271
+ "id": 45,
3272
+ "period_id": 1,
3273
+ "employee_id": 5,
3274
+ "date": "2024-03-12",
3275
+ "time_slot": "dinner",
3276
+ "position": "kitchen"
3277
+ },
3278
+ {
3279
+ "id": 46,
3280
+ "period_id": 1,
3281
+ "employee_id": 5,
3282
+ "date": "2024-03-13",
3283
+ "time_slot": "dinner",
3284
+ "position": "kitchen"
3285
+ },
3286
+ {
3287
+ "id": 47,
3288
+ "period_id": 1,
3289
+ "employee_id": 6,
3290
+ "date": "2024-03-01",
3291
+ "time_slot": "breakfast",
3292
+ "position": "kitchen"
3293
+ },
3294
+ {
3295
+ "id": 48,
3296
+ "period_id": 1,
3297
+ "employee_id": 6,
3298
+ "date": "2024-03-03",
3299
+ "time_slot": "dinner",
3300
+ "position": "kitchen"
3301
+ },
3302
+ {
3303
+ "id": 49,
3304
+ "period_id": 1,
3305
+ "employee_id": 6,
3306
+ "date": "2024-03-04",
3307
+ "time_slot": "dinner",
3308
+ "position": "kitchen"
3309
+ },
3310
+ {
3311
+ "id": 50,
3312
+ "period_id": 1,
3313
+ "employee_id": 6,
3314
+ "date": "2024-03-05",
3315
+ "time_slot": "dinner",
3316
+ "position": "kitchen"
3317
+ },
3318
+ {
3319
+ "id": 51,
3320
+ "period_id": 1,
3321
+ "employee_id": 6,
3322
+ "date": "2024-03-06",
3323
+ "time_slot": "breakfast",
3324
+ "position": "kitchen"
3325
+ },
3326
+ {
3327
+ "id": 52,
3328
+ "period_id": 1,
3329
+ "employee_id": 6,
3330
+ "date": "2024-03-09",
3331
+ "time_slot": "dinner",
3332
+ "position": "kitchen"
3333
+ },
3334
+ {
3335
+ "id": 53,
3336
+ "period_id": 1,
3337
+ "employee_id": 6,
3338
+ "date": "2024-03-10",
3339
+ "time_slot": "dinner",
3340
+ "position": "kitchen"
3341
+ },
3342
+ {
3343
+ "id": 54,
3344
+ "period_id": 1,
3345
+ "employee_id": 6,
3346
+ "date": "2024-03-11",
3347
+ "time_slot": "dinner",
3348
+ "position": "kitchen"
3349
+ },
3350
+ {
3351
+ "id": 55,
3352
+ "period_id": 1,
3353
+ "employee_id": 6,
3354
+ "date": "2024-03-12",
3355
+ "time_slot": "breakfast",
3356
+ "position": "kitchen"
3357
+ },
3358
+ {
3359
+ "id": 56,
3360
+ "period_id": 1,
3361
+ "employee_id": 7,
3362
+ "date": "2024-03-02",
3363
+ "time_slot": "breakfast",
3364
+ "position": "hall"
3365
+ },
3366
+ {
3367
+ "id": 57,
3368
+ "period_id": 1,
3369
+ "employee_id": 7,
3370
+ "date": "2024-03-03",
3371
+ "time_slot": "breakfast",
3372
+ "position": "hall"
3373
+ },
3374
+ {
3375
+ "id": 58,
3376
+ "period_id": 1,
3377
+ "employee_id": 7,
3378
+ "date": "2024-03-05",
3379
+ "time_slot": "breakfast",
3380
+ "position": "hall"
3381
+ },
3382
+ {
3383
+ "id": 59,
3384
+ "period_id": 1,
3385
+ "employee_id": 7,
3386
+ "date": "2024-03-06",
3387
+ "time_slot": "breakfast",
3388
+ "position": "hall"
3389
+ },
3390
+ {
3391
+ "id": 60,
3392
+ "period_id": 1,
3393
+ "employee_id": 7,
3394
+ "date": "2024-03-07",
3395
+ "time_slot": "breakfast",
3396
+ "position": "hall"
3397
+ },
3398
+ {
3399
+ "id": 61,
3400
+ "period_id": 1,
3401
+ "employee_id": 7,
3402
+ "date": "2024-03-08",
3403
+ "time_slot": "breakfast",
3404
+ "position": "hall"
3405
+ },
3406
+ {
3407
+ "id": 62,
3408
+ "period_id": 1,
3409
+ "employee_id": 7,
3410
+ "date": "2024-03-10",
3411
+ "time_slot": "breakfast",
3412
+ "position": "hall"
3413
+ },
3414
+ {
3415
+ "id": 63,
3416
+ "period_id": 1,
3417
+ "employee_id": 7,
3418
+ "date": "2024-03-11",
3419
+ "time_slot": "breakfast",
3420
+ "position": "hall"
3421
+ },
3422
+ {
3423
+ "id": 64,
3424
+ "period_id": 1,
3425
+ "employee_id": 7,
3426
+ "date": "2024-03-13",
3427
+ "time_slot": "breakfast",
3428
+ "position": "hall"
3429
+ },
3430
+ {
3431
+ "id": 65,
3432
+ "period_id": 1,
3433
+ "employee_id": 7,
3434
+ "date": "2024-03-15",
3435
+ "time_slot": "breakfast",
3436
+ "position": "hall"
3437
+ },
3438
+ {
3439
+ "id": 66,
3440
+ "period_id": 1,
3441
+ "employee_id": 8,
3442
+ "date": "2024-03-01",
3443
+ "time_slot": "breakfast",
3444
+ "position": "hall"
3445
+ },
3446
+ {
3447
+ "id": 67,
3448
+ "period_id": 1,
3449
+ "employee_id": 8,
3450
+ "date": "2024-03-03",
3451
+ "time_slot": "breakfast",
3452
+ "position": "hall"
3453
+ },
3454
+ {
3455
+ "id": 68,
3456
+ "period_id": 1,
3457
+ "employee_id": 8,
3458
+ "date": "2024-03-04",
3459
+ "time_slot": "breakfast",
3460
+ "position": "hall"
3461
+ },
3462
+ {
3463
+ "id": 69,
3464
+ "period_id": 1,
3465
+ "employee_id": 8,
3466
+ "date": "2024-03-05",
3467
+ "time_slot": "breakfast",
3468
+ "position": "hall"
3469
+ },
3470
+ {
3471
+ "id": 70,
3472
+ "period_id": 1,
3473
+ "employee_id": 8,
3474
+ "date": "2024-03-09",
3475
+ "time_slot": "breakfast",
3476
+ "position": "hall"
3477
+ },
3478
+ {
3479
+ "id": 71,
3480
+ "period_id": 1,
3481
+ "employee_id": 8,
3482
+ "date": "2024-03-10",
3483
+ "time_slot": "breakfast",
3484
+ "position": "hall"
3485
+ },
3486
+ {
3487
+ "id": 72,
3488
+ "period_id": 1,
3489
+ "employee_id": 8,
3490
+ "date": "2024-03-11",
3491
+ "time_slot": "breakfast",
3492
+ "position": "hall"
3493
+ },
3494
+ {
3495
+ "id": 73,
3496
+ "period_id": 1,
3497
+ "employee_id": 8,
3498
+ "date": "2024-03-12",
3499
+ "time_slot": "breakfast",
3500
+ "position": "hall"
3501
+ },
3502
+ {
3503
+ "id": 74,
3504
+ "period_id": 1,
3505
+ "employee_id": 9,
3506
+ "date": "2024-03-01",
3507
+ "time_slot": "breakfast",
3508
+ "position": "hall"
3509
+ },
3510
+ {
3511
+ "id": 75,
3512
+ "period_id": 1,
3513
+ "employee_id": 9,
3514
+ "date": "2024-03-02",
3515
+ "time_slot": "breakfast",
3516
+ "position": "hall"
3517
+ },
3518
+ {
3519
+ "id": 76,
3520
+ "period_id": 1,
3521
+ "employee_id": 9,
3522
+ "date": "2024-03-04",
3523
+ "time_slot": "breakfast",
3524
+ "position": "hall"
3525
+ },
3526
+ {
3527
+ "id": 77,
3528
+ "period_id": 1,
3529
+ "employee_id": 9,
3530
+ "date": "2024-03-05",
3531
+ "time_slot": "breakfast",
3532
+ "position": "hall"
3533
+ },
3534
+ {
3535
+ "id": 78,
3536
+ "period_id": 1,
3537
+ "employee_id": 9,
3538
+ "date": "2024-03-08",
3539
+ "time_slot": "breakfast",
3540
+ "position": "hall"
3541
+ },
3542
+ {
3543
+ "id": 79,
3544
+ "period_id": 1,
3545
+ "employee_id": 9,
3546
+ "date": "2024-03-09",
3547
+ "time_slot": "breakfast",
3548
+ "position": "hall"
3549
+ },
3550
+ {
3551
+ "id": 80,
3552
+ "period_id": 1,
3553
+ "employee_id": 9,
3554
+ "date": "2024-03-10",
3555
+ "time_slot": "breakfast",
3556
+ "position": "hall"
3557
+ },
3558
+ {
3559
+ "id": 81,
3560
+ "period_id": 1,
3561
+ "employee_id": 9,
3562
+ "date": "2024-03-11",
3563
+ "time_slot": "breakfast",
3564
+ "position": "hall"
3565
+ },
3566
+ {
3567
+ "id": 82,
3568
+ "period_id": 1,
3569
+ "employee_id": 9,
3570
+ "date": "2024-03-13",
3571
+ "time_slot": "dinner",
3572
+ "position": "hall"
3573
+ },
3574
+ {
3575
+ "id": 83,
3576
+ "period_id": 1,
3577
+ "employee_id": 10,
3578
+ "date": "2024-03-01",
3579
+ "time_slot": "breakfast",
3580
+ "position": "hall"
3581
+ },
3582
+ {
3583
+ "id": 84,
3584
+ "period_id": 1,
3585
+ "employee_id": 10,
3586
+ "date": "2024-03-04",
3587
+ "time_slot": "breakfast",
3588
+ "position": "hall"
3589
+ },
3590
+ {
3591
+ "id": 85,
3592
+ "period_id": 1,
3593
+ "employee_id": 10,
3594
+ "date": "2024-03-08",
3595
+ "time_slot": "breakfast",
3596
+ "position": "hall"
3597
+ },
3598
+ {
3599
+ "id": 86,
3600
+ "period_id": 1,
3601
+ "employee_id": 10,
3602
+ "date": "2024-03-13",
3603
+ "time_slot": "breakfast",
3604
+ "position": "hall"
3605
+ },
3606
+ {
3607
+ "id": 87,
3608
+ "period_id": 1,
3609
+ "employee_id": 11,
3610
+ "date": "2024-03-02",
3611
+ "time_slot": "breakfast",
3612
+ "position": "hall"
3613
+ },
3614
+ {
3615
+ "id": 88,
3616
+ "period_id": 1,
3617
+ "employee_id": 11,
3618
+ "date": "2024-03-05",
3619
+ "time_slot": "breakfast",
3620
+ "position": "hall"
3621
+ },
3622
+ {
3623
+ "id": 89,
3624
+ "period_id": 1,
3625
+ "employee_id": 11,
3626
+ "date": "2024-03-09",
3627
+ "time_slot": "breakfast",
3628
+ "position": "hall"
3629
+ },
3630
+ {
3631
+ "id": 90,
3632
+ "period_id": 1,
3633
+ "employee_id": 12,
3634
+ "date": "2024-03-06",
3635
+ "time_slot": "breakfast",
3636
+ "position": "hall"
3637
+ },
3638
+ {
3639
+ "id": 91,
3640
+ "period_id": 1,
3641
+ "employee_id": 12,
3642
+ "date": "2024-03-11",
3643
+ "time_slot": "breakfast",
3644
+ "position": "hall"
3645
+ },
3646
+ {
3647
+ "id": 92,
3648
+ "period_id": 1,
3649
+ "employee_id": 13,
3650
+ "date": "2024-03-07",
3651
+ "time_slot": "breakfast",
3652
+ "position": "hall"
3653
+ },
3654
+ {
3655
+ "id": 93,
3656
+ "period_id": 1,
3657
+ "employee_id": 13,
3658
+ "date": "2024-03-12",
3659
+ "time_slot": "breakfast",
3660
+ "position": "hall"
3661
+ },
3662
+ {
3663
+ "id": 94,
3664
+ "period_id": 1,
3665
+ "employee_id": 14,
3666
+ "date": "2024-03-01",
3667
+ "time_slot": "breakfast",
3668
+ "position": "hall"
3669
+ },
3670
+ {
3671
+ "id": 95,
3672
+ "period_id": 1,
3673
+ "employee_id": 14,
3674
+ "date": "2024-03-04",
3675
+ "time_slot": "breakfast",
3676
+ "position": "hall"
3677
+ },
3678
+ {
3679
+ "id": 96,
3680
+ "period_id": 1,
3681
+ "employee_id": 14,
3682
+ "date": "2024-03-07",
3683
+ "time_slot": "breakfast",
3684
+ "position": "hall"
3685
+ },
3686
+ {
3687
+ "id": 97,
3688
+ "period_id": 1,
3689
+ "employee_id": 14,
3690
+ "date": "2024-03-08",
3691
+ "time_slot": "breakfast",
3692
+ "position": "hall"
3693
+ },
3694
+ {
3695
+ "id": 98,
3696
+ "period_id": 1,
3697
+ "employee_id": 15,
3698
+ "date": "2024-03-03",
3699
+ "time_slot": "breakfast",
3700
+ "position": "hall"
3701
+ },
3702
+ {
3703
+ "id": 99,
3704
+ "period_id": 1,
3705
+ "employee_id": 15,
3706
+ "date": "2024-03-10",
3707
+ "time_slot": "breakfast",
3708
+ "position": "hall"
3709
+ },
3710
+ {
3711
+ "id": 100,
3712
+ "period_id": 1,
3713
+ "employee_id": 16,
3714
+ "date": "2024-03-02",
3715
+ "time_slot": "breakfast",
3716
+ "position": "hall"
3717
+ },
3718
+ {
3719
+ "id": 101,
3720
+ "period_id": 1,
3721
+ "employee_id": 16,
3722
+ "date": "2024-03-11",
3723
+ "time_slot": "breakfast",
3724
+ "position": "hall"
3725
+ },
3726
+ {
3727
+ "id": 102,
3728
+ "period_id": 1,
3729
+ "employee_id": 17,
3730
+ "date": "2024-03-01",
3731
+ "time_slot": "breakfast",
3732
+ "position": "hall"
3733
+ },
3734
+ {
3735
+ "id": 103,
3736
+ "period_id": 1,
3737
+ "employee_id": 17,
3738
+ "date": "2024-03-02",
3739
+ "time_slot": "breakfast",
3740
+ "position": "hall"
3741
+ },
3742
+ {
3743
+ "id": 104,
3744
+ "period_id": 1,
3745
+ "employee_id": 17,
3746
+ "date": "2024-03-08",
3747
+ "time_slot": "breakfast",
3748
+ "position": "hall"
3749
+ },
3750
+ {
3751
+ "id": 105,
3752
+ "period_id": 1,
3753
+ "employee_id": 17,
3754
+ "date": "2024-03-10",
3755
+ "time_slot": "breakfast",
3756
+ "position": "hall"
3757
+ },
3758
+ {
3759
+ "id": 106,
3760
+ "period_id": 1,
3761
+ "employee_id": 18,
3762
+ "date": "2024-03-09",
3763
+ "time_slot": "dinner",
3764
+ "position": "hall"
3765
+ },
3766
+ {
3767
+ "id": 107,
3768
+ "period_id": 1,
3769
+ "employee_id": 18,
3770
+ "date": "2024-03-10",
3771
+ "time_slot": "dinner",
3772
+ "position": "hall"
3773
+ },
3774
+ {
3775
+ "id": 108,
3776
+ "period_id": 1,
3777
+ "employee_id": 19,
3778
+ "date": "2024-03-03",
3779
+ "time_slot": "breakfast",
3780
+ "position": "hall"
3781
+ },
3782
+ {
3783
+ "id": 109,
3784
+ "period_id": 1,
3785
+ "employee_id": 19,
3786
+ "date": "2024-03-06",
3787
+ "time_slot": "breakfast",
3788
+ "position": "hall"
3789
+ },
3790
+ {
3791
+ "id": 110,
3792
+ "period_id": 1,
3793
+ "employee_id": 19,
3794
+ "date": "2024-03-07",
3795
+ "time_slot": "breakfast",
3796
+ "position": "hall"
3797
+ },
3798
+ {
3799
+ "id": 111,
3800
+ "period_id": 1,
3801
+ "employee_id": 20,
3802
+ "date": "2024-03-05",
3803
+ "time_slot": "breakfast",
3804
+ "position": "hall"
3805
+ },
3806
+ {
3807
+ "id": 112,
3808
+ "period_id": 1,
3809
+ "employee_id": 20,
3810
+ "date": "2024-03-10",
3811
+ "time_slot": "breakfast",
3812
+ "position": "hall"
3813
+ },
3814
+ {
3815
+ "id": 113,
3816
+ "period_id": 1,
3817
+ "employee_id": 21,
3818
+ "date": "2024-03-09",
3819
+ "time_slot": "breakfast",
3820
+ "position": "kitchen"
3821
+ },
3822
+ {
3823
+ "id": 114,
3824
+ "period_id": 1,
3825
+ "employee_id": 21,
3826
+ "date": "2024-03-14",
3827
+ "time_slot": "breakfast",
3828
+ "position": "kitchen"
3829
+ },
3830
+ {
3831
+ "id": 115,
3832
+ "period_id": 1,
3833
+ "employee_id": 22,
3834
+ "date": "2024-03-04",
3835
+ "time_slot": "breakfast",
3836
+ "position": "kitchen"
3837
+ },
3838
+ {
3839
+ "id": 116,
3840
+ "period_id": 1,
3841
+ "employee_id": 22,
3842
+ "date": "2024-03-05",
3843
+ "time_slot": "breakfast",
3844
+ "position": "kitchen"
3845
+ },
3846
+ {
3847
+ "id": 117,
3848
+ "period_id": 1,
3849
+ "employee_id": 22,
3850
+ "date": "2024-03-07",
3851
+ "time_slot": "breakfast",
3852
+ "position": "kitchen"
3853
+ },
3854
+ {
3855
+ "id": 118,
3856
+ "period_id": 1,
3857
+ "employee_id": 22,
3858
+ "date": "2024-03-11",
3859
+ "time_slot": "breakfast",
3860
+ "position": "kitchen"
3861
+ },
3862
+ {
3863
+ "id": 119,
3864
+ "period_id": 1,
3865
+ "employee_id": 22,
3866
+ "date": "2024-03-12",
3867
+ "time_slot": "breakfast",
3868
+ "position": "kitchen"
3869
+ },
3870
+ {
3871
+ "id": 120,
3872
+ "period_id": 1,
3873
+ "employee_id": 23,
3874
+ "date": "2024-03-02",
3875
+ "time_slot": "breakfast",
3876
+ "position": "kitchen"
3877
+ },
3878
+ {
3879
+ "id": 121,
3880
+ "period_id": 1,
3881
+ "employee_id": 23,
3882
+ "date": "2024-03-07",
3883
+ "time_slot": "breakfast",
3884
+ "position": "kitchen"
3885
+ },
3886
+ {
3887
+ "id": 122,
3888
+ "period_id": 1,
3889
+ "employee_id": 23,
3890
+ "date": "2024-03-09",
3891
+ "time_slot": "breakfast",
3892
+ "position": "kitchen"
3893
+ },
3894
+ {
3895
+ "id": 123,
3896
+ "period_id": 1,
3897
+ "employee_id": 23,
3898
+ "date": "2024-03-12",
3899
+ "time_slot": "dinner",
3900
+ "position": "kitchen"
3901
+ },
3902
+ {
3903
+ "id": 124,
3904
+ "period_id": 1,
3905
+ "employee_id": 24,
3906
+ "date": "2024-03-04",
3907
+ "time_slot": "breakfast",
3908
+ "position": "kitchen"
3909
+ },
3910
+ {
3911
+ "id": 125,
3912
+ "period_id": 1,
3913
+ "employee_id": 24,
3914
+ "date": "2024-03-06",
3915
+ "time_slot": "breakfast",
3916
+ "position": "kitchen"
3917
+ },
3918
+ {
3919
+ "id": 126,
3920
+ "period_id": 1,
3921
+ "employee_id": 24,
3922
+ "date": "2024-03-07",
3923
+ "time_slot": "breakfast",
3924
+ "position": "kitchen"
3925
+ },
3926
+ {
3927
+ "id": 127,
3928
+ "period_id": 1,
3929
+ "employee_id": 24,
3930
+ "date": "2024-03-12",
3931
+ "time_slot": "breakfast",
3932
+ "position": "kitchen"
3933
+ },
3934
+ {
3935
+ "id": 128,
3936
+ "period_id": 1,
3937
+ "employee_id": 24,
3938
+ "date": "2024-03-15",
3939
+ "time_slot": "dinner",
3940
+ "position": "kitchen"
3941
+ },
3942
+ {
3943
+ "id": 129,
3944
+ "period_id": 1,
3945
+ "employee_id": 25,
3946
+ "date": "2024-03-03",
3947
+ "time_slot": "breakfast",
3948
+ "position": "kitchen"
3949
+ },
3950
+ {
3951
+ "id": 130,
3952
+ "period_id": 1,
3953
+ "employee_id": 25,
3954
+ "date": "2024-03-11",
3955
+ "time_slot": "breakfast",
3956
+ "position": "kitchen"
3957
+ },
3958
+ {
3959
+ "id": 131,
3960
+ "period_id": 1,
3961
+ "employee_id": 25,
3962
+ "date": "2024-03-14",
3963
+ "time_slot": "breakfast",
3964
+ "position": "kitchen"
3965
+ },
3966
+ {
3967
+ "id": 132,
3968
+ "period_id": 1,
3969
+ "employee_id": 26,
3970
+ "date": "2024-03-01",
3971
+ "time_slot": "dinner",
3972
+ "position": "hall"
3973
+ },
3974
+ {
3975
+ "id": 133,
3976
+ "period_id": 1,
3977
+ "employee_id": 26,
3978
+ "date": "2024-03-09",
3979
+ "time_slot": "dinner",
3980
+ "position": "hall"
3981
+ },
3982
+ {
3983
+ "id": 134,
3984
+ "period_id": 1,
3985
+ "employee_id": 26,
3986
+ "date": "2024-03-10",
3987
+ "time_slot": "dinner",
3988
+ "position": "hall"
3989
+ },
3990
+ {
3991
+ "id": 135,
3992
+ "period_id": 1,
3993
+ "employee_id": 27,
3994
+ "date": "2024-03-01",
3995
+ "time_slot": "dinner",
3996
+ "position": "hall"
3997
+ },
3998
+ {
3999
+ "id": 136,
4000
+ "period_id": 1,
4001
+ "employee_id": 27,
4002
+ "date": "2024-03-03",
4003
+ "time_slot": "dinner",
4004
+ "position": "hall"
4005
+ },
4006
+ {
4007
+ "id": 137,
4008
+ "period_id": 1,
4009
+ "employee_id": 27,
4010
+ "date": "2024-03-05",
4011
+ "time_slot": "dinner",
4012
+ "position": "hall"
4013
+ },
4014
+ {
4015
+ "id": 138,
4016
+ "period_id": 1,
4017
+ "employee_id": 27,
4018
+ "date": "2024-03-10",
4019
+ "time_slot": "dinner",
4020
+ "position": "hall"
4021
+ },
4022
+ {
4023
+ "id": 139,
4024
+ "period_id": 1,
4025
+ "employee_id": 27,
4026
+ "date": "2024-03-11",
4027
+ "time_slot": "dinner",
4028
+ "position": "hall"
4029
+ },
4030
+ {
4031
+ "id": 140,
4032
+ "period_id": 1,
4033
+ "employee_id": 28,
4034
+ "date": "2024-03-02",
4035
+ "time_slot": "dinner",
4036
+ "position": "hall"
4037
+ },
4038
+ {
4039
+ "id": 141,
4040
+ "period_id": 1,
4041
+ "employee_id": 28,
4042
+ "date": "2024-03-04",
4043
+ "time_slot": "dinner",
4044
+ "position": "hall"
4045
+ },
4046
+ {
4047
+ "id": 142,
4048
+ "period_id": 1,
4049
+ "employee_id": 28,
4050
+ "date": "2024-03-11",
4051
+ "time_slot": "dinner",
4052
+ "position": "hall"
4053
+ },
4054
+ {
4055
+ "id": 143,
4056
+ "period_id": 1,
4057
+ "employee_id": 29,
4058
+ "date": "2024-03-11",
4059
+ "time_slot": "dinner",
4060
+ "position": "hall"
4061
+ },
4062
+ {
4063
+ "id": 144,
4064
+ "period_id": 1,
4065
+ "employee_id": 30,
4066
+ "date": "2024-03-06",
4067
+ "time_slot": "dinner",
4068
+ "position": "hall"
4069
+ },
4070
+ {
4071
+ "id": 145,
4072
+ "period_id": 1,
4073
+ "employee_id": 31,
4074
+ "date": "2024-03-01",
4075
+ "time_slot": "dinner",
4076
+ "position": "hall"
4077
+ },
4078
+ {
4079
+ "id": 146,
4080
+ "period_id": 1,
4081
+ "employee_id": 31,
4082
+ "date": "2024-03-03",
4083
+ "time_slot": "dinner",
4084
+ "position": "hall"
4085
+ },
4086
+ {
4087
+ "id": 147,
4088
+ "period_id": 1,
4089
+ "employee_id": 31,
4090
+ "date": "2024-03-04",
4091
+ "time_slot": "dinner",
4092
+ "position": "hall"
4093
+ },
4094
+ {
4095
+ "id": 148,
4096
+ "period_id": 1,
4097
+ "employee_id": 31,
4098
+ "date": "2024-03-05",
4099
+ "time_slot": "dinner",
4100
+ "position": "hall"
4101
+ },
4102
+ {
4103
+ "id": 149,
4104
+ "period_id": 1,
4105
+ "employee_id": 31,
4106
+ "date": "2024-03-06",
4107
+ "time_slot": "dinner",
4108
+ "position": "hall"
4109
+ },
4110
+ {
4111
+ "id": 150,
4112
+ "period_id": 1,
4113
+ "employee_id": 31,
4114
+ "date": "2024-03-08",
4115
+ "time_slot": "dinner",
4116
+ "position": "hall"
4117
+ },
4118
+ {
4119
+ "id": 151,
4120
+ "period_id": 1,
4121
+ "employee_id": 31,
4122
+ "date": "2024-03-09",
4123
+ "time_slot": "dinner",
4124
+ "position": "kitchen"
4125
+ },
4126
+ {
4127
+ "id": 152,
4128
+ "period_id": 1,
4129
+ "employee_id": 31,
4130
+ "date": "2024-03-11",
4131
+ "time_slot": "dinner",
4132
+ "position": "hall"
4133
+ },
4134
+ {
4135
+ "id": 153,
4136
+ "period_id": 1,
4137
+ "employee_id": 32,
4138
+ "date": "2024-03-02",
4139
+ "time_slot": "dinner",
4140
+ "position": "hall"
4141
+ },
4142
+ {
4143
+ "id": 154,
4144
+ "period_id": 1,
4145
+ "employee_id": 32,
4146
+ "date": "2024-03-06",
4147
+ "time_slot": "dinner",
4148
+ "position": "hall"
4149
+ },
4150
+ {
4151
+ "id": 155,
4152
+ "period_id": 1,
4153
+ "employee_id": 33,
4154
+ "date": "2024-03-06",
4155
+ "time_slot": "dinner",
4156
+ "position": "hall"
4157
+ },
4158
+ {
4159
+ "id": 156,
4160
+ "period_id": 1,
4161
+ "employee_id": 33,
4162
+ "date": "2024-03-08",
4163
+ "time_slot": "dinner",
4164
+ "position": "hall"
4165
+ },
4166
+ {
4167
+ "id": 157,
4168
+ "period_id": 1,
4169
+ "employee_id": 34,
4170
+ "date": "2024-03-01",
4171
+ "time_slot": "breakfast",
4172
+ "position": "hall"
4173
+ },
4174
+ {
4175
+ "id": 158,
4176
+ "period_id": 1,
4177
+ "employee_id": 34,
4178
+ "date": "2024-03-15",
4179
+ "time_slot": "dinner",
4180
+ "position": "hall"
4181
+ },
4182
+ {
4183
+ "id": 159,
4184
+ "period_id": 1,
4185
+ "employee_id": 35,
4186
+ "date": "2024-03-03",
4187
+ "time_slot": "dinner",
4188
+ "position": "kitchen"
4189
+ },
4190
+ {
4191
+ "id": 160,
4192
+ "period_id": 1,
4193
+ "employee_id": 35,
4194
+ "date": "2024-03-07",
4195
+ "time_slot": "dinner",
4196
+ "position": "kitchen"
4197
+ },
4198
+ {
4199
+ "id": 161,
4200
+ "period_id": 1,
4201
+ "employee_id": 35,
4202
+ "date": "2024-03-11",
4203
+ "time_slot": "dinner",
4204
+ "position": "kitchen"
4205
+ },
4206
+ {
4207
+ "id": 162,
4208
+ "period_id": 1,
4209
+ "employee_id": 35,
4210
+ "date": "2024-03-13",
4211
+ "time_slot": "dinner",
4212
+ "position": "kitchen"
4213
+ },
4214
+ {
4215
+ "id": 163,
4216
+ "period_id": 1,
4217
+ "employee_id": 35,
4218
+ "date": "2024-03-14",
4219
+ "time_slot": "dinner",
4220
+ "position": "kitchen"
4221
+ },
4222
+ {
4223
+ "id": 164,
4224
+ "period_id": 1,
4225
+ "employee_id": 36,
4226
+ "date": "2024-03-06",
4227
+ "time_slot": "dinner",
4228
+ "position": "kitchen"
4229
+ },
4230
+ {
4231
+ "id": 165,
4232
+ "period_id": 1,
4233
+ "employee_id": 36,
4234
+ "date": "2024-03-09",
4235
+ "time_slot": "dinner",
4236
+ "position": "kitchen"
4237
+ },
4238
+ {
4239
+ "id": 166,
4240
+ "period_id": 1,
4241
+ "employee_id": 38,
4242
+ "date": "2024-03-12",
4243
+ "time_slot": "dinner",
4244
+ "position": "hall"
4245
+ }
4246
+ ]
4247
+ }
db/seeder.py ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """初期データ投入モジュール。DBが空のときのみ実行される。"""
2
+ from __future__ import annotations
3
+ import json
4
+ import os
5
+ from pathlib import Path
6
+
7
+ _SEED_FILE = Path(__file__).parent / "seed_data.json"
8
+
9
+ # 挿入順序(外部キー依存順)
10
+ _TABLE_ORDER = [
11
+ "employees",
12
+ "fixed_patterns",
13
+ "fixed_unavailable_dates",
14
+ "schedule_periods",
15
+ "shift_requests",
16
+ "shift_assignments",
17
+ ]
18
+
19
+
20
+ def seed_if_empty(conn) -> bool:
21
+ """employees テーブルが空のときだけシードデータを投入する。"""
22
+ if not _SEED_FILE.exists():
23
+ return False
24
+
25
+ count = conn.execute("SELECT COUNT(*) as c FROM employees").fetchone()["c"]
26
+ if count > 0:
27
+ return False
28
+
29
+ with open(_SEED_FILE, encoding="utf-8") as f:
30
+ data: dict = json.load(f)
31
+
32
+ for table in _TABLE_ORDER:
33
+ rows = data.get(table, [])
34
+ if not rows:
35
+ continue
36
+ cols = list(rows[0].keys())
37
+ # DBスキーマに存在するカラムだけ使う
38
+ cols = _filter_existing_cols(conn, table, cols)
39
+ placeholders = ", ".join(["?" if conn.backend == "sqlite" else "%s"] * len(cols))
40
+ col_list = ", ".join(cols)
41
+ sql = f"INSERT INTO {table} ({col_list}) VALUES ({placeholders})"
42
+ for row in rows:
43
+ values = [row.get(c) for c in cols]
44
+ try:
45
+ conn.execute(sql, values)
46
+ except Exception:
47
+ pass
48
+
49
+ # PostgreSQL: SERIAL シーケンスを最大IDに合わせる
50
+ if conn.backend == "postgres":
51
+ for table in ["employees", "schedule_periods", "shift_requests", "shift_assignments"]:
52
+ conn.execute(
53
+ f"SELECT setval(pg_get_serial_sequence('{table}', 'id'), "
54
+ f"COALESCE((SELECT MAX(id) FROM {table}), 1))"
55
+ )
56
+
57
+ conn.commit()
58
+ return True
59
+
60
+
61
+ def _filter_existing_cols(conn, table: str, cols: list[str]) -> list[str]:
62
+ """テーブルに実際に存在するカラムだけを返す。"""
63
+ if conn.backend == "postgres":
64
+ result = conn.execute(
65
+ "SELECT column_name FROM information_schema.columns "
66
+ "WHERE table_name=%s",
67
+ (table,)
68
+ ).fetchall()
69
+ existing = {r["column_name"] for r in result}
70
+ else:
71
+ result = conn.execute(f"PRAGMA table_info({table})").fetchall()
72
+ existing = {r["name"] for r in result}
73
+ return [c for c in cols if c in existing]