<?phpnamespace App\Entity;use App\Repository\TeacherSurveyRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=TeacherSurveyRepository::class) */class TeacherSurvey{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Teacher::class, inversedBy="teacherSurveys") */ private $teacher; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateFor; /** * @ORM\Column(type="datetime", nullable=true) */ private $createdAt; /** * @ORM\Column(type="datetime", nullable=true) */ private $updatedAt; /** * @ORM\Column(type="boolean", nullable=true,options={"default" : "0"}) */ private $submitted = false; public function getId(): ?int { return $this->id; } public function getTeacher(): ?Teacher { return $this->teacher; } public function setTeacher(?Teacher $teacher): self { $this->teacher = $teacher; return $this; } public function getDateFor(): ?\DateTimeInterface { return $this->dateFor; } public function setDateFor(?\DateTimeInterface $dateFor): self { $this->dateFor = $dateFor; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(?\DateTimeInterface $updatedAt): self { $this->updatedAt = $updatedAt; return $this; } public function getSubmitted(): ?bool { return $this->submitted; } public function setSubmitted(?bool $submitted): self { $this->submitted = $submitted; return $this; }}