32 lines
1.3 KiB
C#
32 lines
1.3 KiB
C#
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; }
|
|
|
|
/// <summary>Only populated in the response right after booking creation -- the
|
|
/// guest's receipt. Never returned by list/lookup endpoints afterward.</summary>
|
|
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; }
|
|
|
|
/// <summary>A public, unauthenticated link to this booking's confirmation page --
|
|
/// copy-paste-and-share receipt. Works for both member and guest bookings.</summary>
|
|
public string? ShareUrl { get; set; }
|
|
}
|
|
}
|