src/Entity/Membre.php line 9
<?phpnamespace App\Entity;use App\Repository\MembreRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: MembreRepository::class)]class Membre{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'membress')]private ?Projet $projet = null;#[ORM\ManyToOne(inversedBy: 'membres')]private ?Chercheur $chercheur = null;#[ORM\Column(length: 255, nullable: true)]private ?string $role = null;public function getId(): ?int{return $this->id;}public function getProjet(): ?Projet{return $this->projet;}public function setProjet(?Projet $projet): self{$this->projet = $projet;return $this;}public function getChercheur(): ?Chercheur{return $this->chercheur;}public function setChercheur(?Chercheur $chercheur): self{$this->chercheur = $chercheur;return $this;}public function getRole(): ?string{return $this->role;}public function setRole(?string $role): self{$this->role = $role;return $this;}}