<?phpnamespace App\Entity;use App\Repository\TeacherContractRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Serializer\Annotation\Groups;/** * @ORM\Entity(repositoryClass=TeacherContractRepository::class) */class TeacherContract{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") * @Groups({"TeacherContractPriceList"}) */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $filePath; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateUpdated; /** * @ORM\Column(type="text", nullable=true) */ private $comment; /** * @ORM\Column(type="datetime", nullable=true) */ private $createdAt; public function __construct() { } public function getId(): ?int { return $this->id; } public function getFilePath(): ?string { return $this->filePath; } public function setFilePath(?string $filePath): self { $this->filePath = $filePath; return $this; } public function getDateUpdated(): ?\DateTimeInterface { return $this->dateUpdated; } public function setDateUpdated(?\DateTimeInterface $dateUpdated): self { $this->dateUpdated = $dateUpdated; return $this; } public function getComment(): ?string { return $this->comment; } public function setComment(?string $comment): self { $this->comment = $comment; return $this; } public function __toString() { return "{$this->id} {$this->filePath}"; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; }}