// EN: Command to update staff schedule.
// VI: Command cập nhật lịch làm việc nhân viên.

using BookingService.API.Application.DTOs;
using MediatR;

namespace BookingService.API.Application.Commands;

public record ScheduleDay(
    int DayOfWeek,  // 0=Sunday, 1=Monday, etc.
    TimeOnly StartTime,
    TimeOnly EndTime
);

public record UpdateStaffScheduleCommand(
    Guid StaffId,
    Guid ShopId,
    List<ScheduleDay> Schedule
) : IRequest<List<StaffScheduleDto>>;
