@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
55 lines (47 loc) • 2.39 kB
Markdown
# StaffBookingListItem
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | ID de la réservation | [default to undefined]
**clubId** | **string** | ID du club | [default to undefined]
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
**startDate** | **string** | Date de début | [optional] [default to undefined]
**endDate** | **string** | Date de fin | [optional] [default to undefined]
**durationMinutes** | **number** | Durée estimée en minutes | [optional] [default to undefined]
**createdAt** | **string** | Date de création | [optional] [default to undefined]
**updatedAt** | **string** | Dernière mise à jour | [optional] [default to undefined]
**playersCount** | **number** | Nombre total de participants (créateur inclus) | [default to undefined]
**totalPrice** | **number** | Prix total (centimes) | [default to undefined]
**creator** | [**StaffBookingUserSummary**](StaffBookingUserSummary.md) | Créateur | [optional] [default to undefined]
**players** | [**Array<StaffBookingUserSummary>**](StaffBookingUserSummary.md) | Participants | [default to undefined]
**courts** | [**Array<StaffBookingCourtSummary>**](StaffBookingCourtSummary.md) | Terrains impliqués | [default to undefined]
**sports** | [**Array<StaffBookingSportSummary>**](StaffBookingSportSummary.md) | Sports associés | [default to undefined]
**paymentSummary** | [**StaffBookingPaymentSummary**](StaffBookingPaymentSummary.md) | | [default to undefined]
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
**isPublic** | **boolean** | Réservation publique | [default to undefined]
**slotCount** | **number** | Nombre de créneaux | [default to undefined]
## Example
```typescript
import { StaffBookingListItem } from '@tennac-booking/sdk';
const instance: StaffBookingListItem = {
id,
clubId,
status,
startDate,
endDate,
durationMinutes,
createdAt,
updatedAt,
playersCount,
totalPrice,
creator,
players,
courts,
sports,
paymentSummary,
isCreatorPayingAll,
isPublic,
slotCount,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)