first commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Fitness_core_BE.DTOs.Booking
|
||||
{
|
||||
public class CreateMemberBookingRequest
|
||||
{
|
||||
[Required]
|
||||
public Guid FacilitySessionId { get; set; }
|
||||
}
|
||||
|
||||
public class CreateGuestBookingRequest
|
||||
{
|
||||
[Required]
|
||||
public Guid FacilitySessionId { get; set; }
|
||||
|
||||
[Required]
|
||||
public string GuestName { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
public string GuestPhone { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class MarkGuestBookingPaidRequest
|
||||
{
|
||||
[Required]
|
||||
public Guid BookingId { get; set; }
|
||||
|
||||
[Required]
|
||||
[Range(0.01, double.MaxValue, ErrorMessage = "AmountCharged must be greater than zero")]
|
||||
public decimal AmountCharged { get; set; }
|
||||
}
|
||||
|
||||
public class CheckInBookingRequest
|
||||
{
|
||||
[Required]
|
||||
public string OtpCode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class CancelBookingRequest
|
||||
{
|
||||
[Required]
|
||||
public Guid BookingId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user