namespace Fitness_core_BE.DTOs.Booking
{
public class BookingDto
{
public Guid BookingId { get; set; }
public Guid FacilitySessionId { get; set; }
public string? FacilityName { get; set; }
public DateTime? SessionStartTime { get; set; }
public DateTime? SessionEndTime { get; set; }
public bool IsGuest { get; set; }
public Guid? CustomerId { get; set; }
public string? GuestName { get; set; }
public string? GuestPhone { get; set; }
/// Only populated in the response right after booking creation -- the
/// guest's receipt. Never returned by list/lookup endpoints afterward.
public string? OtpCode { get; set; }
public bool OtpVerified { get; set; }
public string PaymentStatus { get; set; } = string.Empty;
public decimal AmountCharged { get; set; }
public string Status { get; set; } = string.Empty;
public DateTime BookedAt { get; set; }
public DateTime? CheckedInAt { get; set; }
/// A public, unauthenticated link to this booking's confirmation page --
/// copy-paste-and-share receipt. Works for both member and guest bookings.
public string? ShareUrl { get; set; }
}
}