<?phpnamespace App\Entity;use App\Repository\PageClientServiceRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PageClientServiceRepository::class)]class PageClientService{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; #[ORM\Column(type: 'text', nullable: true)] private $titre; #[ORM\Column(type: 'text', nullable: true)] private $description; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $logo; #[ORM\ManyToOne(targetEntity: SeoPageClient::class, inversedBy: 'pageClientServices')] #[ORM\JoinColumn(nullable: false)] private $seopageclient; #[ORM\Column(type: 'datetime', nullable: true)] private $updatedAt; public function getId(): ?int { return $this->id; } public function getTitre(): ?string { return $this->titre; } public function setTitre(?string $titre): self { $this->titre = $titre; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getLogo(): ?string { return $this->logo; } public function setLogo(?string $logo): self { $this->logo = $logo; return $this; } public function getSeopageclient(): ?SeoPageClient { return $this->seopageclient; } public function setSeopageclient(?SeoPageClient $seopageclient): self { $this->seopageclient = $seopageclient; return $this; } /* public function setTmpLogo(?File $tmpLogo = null): void { $this->tmpLogo = $tmpLogo; if($tmpLogo) $this->updatedAt = new \DateTime('now'); } public function getTmpLogo() : ?File { return $this->tmpLogo; }*/ public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(?\DateTimeInterface $updatedAt): self { $this->updatedAt = $updatedAt; return $this; }}