<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: \App\Repository\TypeSignalementRepository::class)]
class TypeSignalement
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private int $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $name= null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $destinataires= null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getDestinataires(): ?string
{
return $this->destinataires;
}
public function setDestinataires(?string $destinataires): self
{
$this->destinataires = $destinataires;
return $this;
}
}