// EN: Appointment Data Transfer Object.
// VI: DTO cho Appointment.

namespace BookingService.API.Application.DTOs;

/// <summary>
/// EN: Appointment DTO for API responses.
/// VI: DTO Appointment cho API responses.
/// </summary>
public record AppointmentDto
{
    public Guid Id { get; init; }
    public Guid ShopId { get; init; }
    public Guid? CustomerId { get; init; }
    public Guid? StaffId { get; init; }
    public Guid? ResourceId { get; init; }
    public Guid ServiceId { get; init; }
    public DateTime StartTime { get; init; }
    public DateTime EndTime { get; init; }
    public string Status { get; init; } = null!;
    public DateTime CreatedAt { get; init; }
}
