initial commit

This commit is contained in:
bastien
2026-06-28 12:29:53 +02:00
parent 03e85d2f9d
commit b2443b654c
220 changed files with 24969 additions and 1 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Http\Requests\Api\V1\Booking;
use Illuminate\Foundation\Http\FormRequest;
class StoreBookingRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'machine_uuid' => ['required', 'uuid', 'exists:machines,uuid'],
'slot_start' => ['required', 'date', 'after:now'],
'slot_end' => ['required', 'date', 'after:slot_start'],
'idempotency_key' => ['nullable', 'string', 'max:100'],
];
}
}