/* Options: Date: 2024-12-22 21:31:50 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteBooking.* //ExcludeTypes: //DefaultImports: */ export interface IReturnVoid { createResponse(): void; } export interface IDeleteDb { } /** @description Booking Details */ export class Booking extends AuditBase { public id: number; public name: string; public roomType: RoomType; public roomNumber: number; public bookingStartDate: string; public bookingEndDate?: string; public cost: number; // @References("typeof(MyApp.ServiceModel.Coupon)") public couponId?: string; public discount: Coupon; public notes?: string; public cancelled?: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description Delete a Booking */ // @Route("/booking/{Id}", "DELETE") // @ValidateRequest(Validator="HasRole(`Manager`)") export class DeleteBooking implements IReturnVoid, IDeleteDb { public id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'DeleteBooking'; } public getMethod() { return 'DELETE'; } public createResponse() {} }