<?php
namespace App\Entity;
use App\Repository\SponsorRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SponsorRepository::class)]
class Sponsor
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $nom = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $lien = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $logo = null;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): static
{
$this->nom = $nom;
return $this;
}
public function getLien(): ?string
{
return $this->lien;
}
public function setLien(?string $lien): static
{
$this->lien = $lien;
return $this;
}
public function getLogo(): ?string
{
return $this->logo;
}
public function setLogo(?string $logo): static
{
$this->logo = $logo;
return $this;
}
}