22 lines
435 B
PHP
22 lines
435 B
PHP
<?php
|
|
|
|
namespace App\Form\Model;
|
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
|
class RoomSelectionDto
|
|
{
|
|
#[Assert\NotNull(message: 'Bitte eine Zimmerkategorie auswählen', groups: ['booking_create_step_1'])]
|
|
public ?int $roomId = null;
|
|
|
|
public ?string $roomLabel = null;
|
|
|
|
public ?float $roomPrice = null;
|
|
|
|
public ?int $quantity = null;
|
|
|
|
public int $maxQuantity = 100;
|
|
|
|
public int $capacity = 0;
|
|
}
|