src/Entity/Olympiad/Online/Embeded/AdditionalInfo.php line 8
<?php
namespace App\Entity\Olympiad\Online\Embeded;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Embeddable]
class AdditionalInfo
{
/**
* @var bool|null
*/
#[ORM\Column(type: 'boolean', nullable: true)]
private ?bool $ovzStatus = null;
#[ORM\Column(type: 'string', nullable: true)]
private ?string $clothesSizes = null;
#[ORM\Column(type: 'string', nullable: true)]
private ?string $food = null;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $foodOther = '';
#[ORM\Column(type: 'text', nullable: true)]
private ?string $allergy = '';
#[ORM\Column(type: 'json', nullable: true)]
private ?array $hobby = [];
/**
* @return bool|null
*/
public function getOvzStatus(): ?bool
{
return $this->ovzStatus;
}
/**
* @param bool|null $ovzStatus
*/
public function setOvzStatus(?bool $ovzStatus): void
{
$this->ovzStatus = $ovzStatus;
}
/**
*
*/
public function getClothesSizes(): ?string
{
return $this->clothesSizes;
}
/**
*
*/
public function setClothesSizes(?string $clothesSizes): void
{
$this->clothesSizes = $clothesSizes;
}
/**
* @return string|null
*/
public function getFoodOther(): ?string
{
return $this->foodOther;
}
/**
* @param string|null $foodOther
*/
public function setFoodOther(?string $foodOther): void
{
$this->foodOther = $foodOther;
}
/**
* @return string|null
*/
public function getAllergy(): ?string
{
return $this->allergy;
}
/**
* @param string|null $allergy
*/
public function setAllergy(?string $allergy): void
{
$this->allergy = $allergy;
}
/**
* @return string|null
*/
public function getFood(): ?string
{
return $this->food;
}
/**
* @param string|null $food
*/
public function setFood(?string $food): void
{
$this->food = $food;
}
/**
* @return array|null
*/
public function getHobby(): ?array
{
return $this->hobby;
}
/**
* @param array|null $hobby
*/
public function setHobby(?array $hobby): void
{
$this->hobby = $hobby;
}
}