<?php
declare(strict_types=1);
namespace CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table("cms_temporary_problem_data")
* @ORM\Entity
*/
class CmsTemporaryProblemData
{
/**
* @ORM\Id
* @ORM\OneToOne(targetEntity="CoreBundle\Entity\Mathproblem")
* @ORM\JoinColumn(name="problem", referencedColumnName="id")
*/
private Mathproblem $problem;
/**
* @ORM\Column(name="image_field", type="text", nullable=true)
*/
private ?string $imageField;
/**
* @ORM\Column(name="sound_field", type="text", nullable=true)
*/
private ?string $soundField;
public function getProblem(): Mathproblem
{
return $this->problem;
}
public function setProblem(Mathproblem $problem): void
{
$this->problem = $problem;
}
public function getImageField(): string
{
return $this->imageField ?? '';
}
public function setImageField(?string $imageField): void
{
$this->imageField = $imageField;
}
public function getSoundField(): string
{
return $this->soundField ?? '';
}
public function setSoundField(?string $soundField): void
{
$this->soundField = $soundField;
}
}