This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user