src/Entity/Materiel.php line 10
<?phpnamespace App\Entity;use App\Repository\MaterielRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: MaterielRepository::class)]class Materiel{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255, nullable: true)]private ?string $nom = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $description = null;#[ORM\ManyToOne(inversedBy: 'materiels')]private ?StructureRecherche $structureRecherche = null;public function getId(): ?int{return $this->id;}public function getNom(): ?string{return $this->nom;}public function setNom(?string $nom): self{$this->nom = $nom;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): self{$this->description = $description;return $this;}public function getStructureRecherche(): ?StructureRecherche{return $this->structureRecherche;}public function setStructureRecherche(?StructureRecherche $structureRecherche): self{$this->structureRecherche = $structureRecherche;return $this;}}