Files
SomniaRooms/src/DTO/ExampleDataConfig.php
T
2024-10-09 20:50:23 +02:00

81 lines
1.6 KiB
PHP

<?php
namespace App\DTO;
use DateTime;
class ExampleDataConfig
{
protected DateTime $startDate;
protected DateTime $endDate;
protected bool $genRoomCategories;
protected bool $genFaretables;
protected bool $genAvailability;
protected string $genMode;
public const GENMODE_EXAMPLE = "EXAMPLE";
public const GENMODE_RANDOM = "RANDOM";
public function getStartDate(): DateTime
{
return $this->startDate;
}
public function setStartDate(DateTime $startDate): void
{
$this->startDate = $startDate;
}
public function getEndDate(): DateTime
{
return $this->endDate;
}
public function setEndDate(DateTime $endDate): void
{
$this->endDate = $endDate;
}
public function getGenRoomCategories(): bool
{
return $this->genRoomCategories;
}
public function setGenRoomCategories(bool $genRoomCategories): void
{
$this->genRoomCategories = $genRoomCategories;
}
public function getGenFaretables(): bool
{
return $this->genFaretables;
}
public function setGenFaretables(bool $genFaretables): void
{
$this->genFaretables = $genFaretables;
}
public function getGenAvailability(): bool
{
return $this->genAvailability;
}
public function setGenAvailability(bool $genAvailability): void
{
$this->genAvailability = $genAvailability;
}
public function getGenMode(): string
{
return $this->genMode;
}
public function setGenMode(string $genMode): void
{
$this->genMode = $genMode;
}
}