<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: "App\Repository\ApprobRepository")]
#[ORM\Table(name: "Approb")]
class Approb
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type:"integer")]
private ?int $id = null;
#[ORM\Column(type:"string", length: 255)]
private string $nomprenom;
#[ORM\Column(type:"string", length: 255)]
private string $email;
// Getters et setters
public function getId(): ?int
{
return $this->id;
}
public function getNomprenom(): string
{
return $this->nomprenom;
}
public function setNomprenom(string $nomprenom): self
{
$this->nomprenom = $nomprenom;
return $this;
}
public function getEmail(): string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
}