// EN: Command to create a new appointment.
// VI: Command tạo cuộc hẹn mới.

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

namespace BookingService.API.Application.Commands;

/// <summary>
/// EN: Command to create a new appointment.
/// VI: Command để tạo cuộc hẹn mới.
/// </summary>
public record CreateAppointmentCommand(
    Guid ShopId,
    Guid ServiceId,
    DateTime StartTime,
    DateTime EndTime,
    Guid? CustomerId = null,
    Guid? StaffId = null,
    Guid? ResourceId = null
) : IRequest<AppointmentDto>;
