add: looping days in schedule_date

This commit is contained in:
Muhammad Afif
2025-10-17 13:02:50 +07:00
parent c71da2d3bb
commit d0394f27eb
2 changed files with 34 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ const insertScheduleSchema = Joi.object({
}),
is_active: Joi.boolean().required(),
shift_id: Joi.number(),
next_day: Joi.number().required(),
});
const updateScheduleSchema = Joi.object({