Files
SomniaRooms/src/Request/SearchPricesForCategoryRequest.php
T
2026-01-13 10:48:04 +01:00

23 lines
518 B
PHP

<?php
namespace App\Request;
use DateTimeImmutable;
use OpenApi\Attributes as OA;
use Symfony\Component\Validator\Constraints as Assert;
class SearchPricesForCategoryRequest
{
#[OA\Property(description: 'Room category ID')]
#[Assert\NotBlank]
public int $roomCategory;
#[OA\Property(description: 'Period start date')]
#[Assert\NotBlank]
public DateTimeImmutable $startDate;
#[OA\Property(description: 'Period end date')]
#[Assert\NotBlank]
public DateTimeImmutable $endDate;
}