src/Entity/PubImage.php line 9
<?phpnamespace App\Entity;use App\Repository\PubImageRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PubImageRepository::class)]class PubImage{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column()]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $code = null;#[ORM\Column]private ?int $status = null;#[ORM\Column(length: 255)]private ?string $image = null;#[ORM\Column(length: 255)]private ?string $libelle = null;#[ORM\Column(length: 255, nullable: true)]private ?string $description = null;#[ORM\ManyToOne(inversedBy: 'pubImages')]#[ORM\JoinColumn(nullable: false)]private ?Zone $zone = null;public function getId(): ?int{return $this->id;}public function getCode(): ?string{return $this->code;}public function setCode(string $code): self{$this->code = $code;return $this;}public function getStatus(): ?int{return $this->status;}public function setStatus(int $status): self{$this->status = $status;return $this;}public function getImage(): ?string{return $this->image;}public function setImage(string $image): self{$this->image = $image;return $this;}public function getLibelle(): ?string{return $this->libelle;}public function setLibelle(string $libelle): self{$this->libelle = $libelle;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): self{$this->description = $description;return $this;}public function getZone(): ?Zone{return $this->zone;}public function setZone(?Zone $zone): self{$this->zone = $zone;return $this;}}