<?php
namespace App\Entity;
use App\Repository\LandingpageFileRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LandingpageFileRepository::class)]
class LandingpageFile
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'landingpageFiles')]
private ?Landingpage $landingpage = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $path = null;
public function getId(): ?int
{
return $this->id;
}
public function getLandingpage(): ?Landingpage
{
return $this->landingpage;
}
public function setLandingpage(?Landingpage $landingpage): static
{
$this->landingpage = $landingpage;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
public function getPath(): ?string
{
return $this->path;
}
public function setPath(?string $path): static
{
$this->path = $path;
return $this;
}
}