src/Entity/Sinistre.php line 14
<?phpnamespace App\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/*** Sinistre** @ORM\Table(name="sinistre")* @ORM\Entity*/class Sinistre{/*** @var int** @ORM\Column(name="id", type="integer", nullable=false)* @ORM\Id* @ORM\GeneratedValue(strategy="IDENTITY")*/private $id;/*** @var datetime_immutable** @ORM\Column(name="date_accident", type="datetime_immutable", nullable=false)*/private $dateAccident;/*** @var string** @ORM\Column(name="lieu_accident", type="string", length=255, nullable=false)*/private $lieuAccident;/*** @var string** @ORM\Column(name="circonstances_accident", type="text", length=0, nullable=false)*/private $circonstancesAccident;/*** @var string** @ORM\Column(name="nom", type="string", length=255, nullable=false)*/private $nom;/*** @var string** @ORM\Column(name="prenom", type="string", length=255, nullable=false)*/private $prenom;/*** @var int** @ORM\Column(name="telephone", type="integer", nullable=false)*/private $telephone;/*** @var int** @ORM\Column(name="statut", type="integer", nullable=false)*/private $statut;/*** @var datetime_immutable** @ORM\Column(name="created_at", type="datetime_immutable", nullable=false)*/private $createdAt;/*** @var datetime_immutable|null** @ORM\Column(name="deleted_at", type="datetime_immutable", nullable=true)*/private $deletedAt;/*** @var string|null** @ORM\Column(name="photo_assurance", type="string", length=255, nullable=true)*/private $photo_assurance;/*** @var string|null** @ORM\Column(name="permis_conduire", type="string", length=255, nullable=true)*/private $permis_conduire;/*** @var string|null** @ORM\Column(name="carte_grise", type="string", length=255, nullable=true)*/private $carte_grise;/*** @var string|null** @ORM\Column(name="proces_verbal", type="string", length=255, nullable=true)*/private $proces_verbal;public function getId(): ?int{return $this->id;}public function getDateAccident(): ?\DateTimeImmutable{return $this->dateAccident;}public function setDateAccident(\DateTimeImmutable $dateAccident): self{$this->dateAccident = $dateAccident;return $this;}public function getLieuAccident(): ?string{return $this->lieuAccident;}public function setLieuAccident(string $lieuAccident): self{$this->lieuAccident = $lieuAccident;return $this;}public function getCirconstancesAccident(): ?string{return $this->circonstancesAccident;}public function setCirconstancesAccident(string $circonstancesAccident): self{$this->circonstancesAccident = $circonstancesAccident;return $this;}public function getNom(): ?string{return $this->nom;}public function setNom(string $nom): self{$this->nom = $nom;return $this;}public function getPrenom(): ?string{return $this->prenom;}public function setPrenom(string $prenom): self{$this->prenom = $prenom;return $this;}public function getTelephone(): ?int{return $this->telephone;}public function setTelephone(int $telephone): self{$this->telephone = $telephone;return $this;}public function getStatut(): ?int{return $this->statut;}public function setStatut(int $statut): self{$this->statut = $statut;return $this;}public function getCreatedAt(): ?\DateTimeImmutable{return $this->createdAt;}public function setCreatedAt(\DateTimeImmutable $createdAt): self{$this->createdAt = $createdAt;return $this;}public function getDeletedAt(): ?\DateTimeImmutable{return $this->deletedAt;}public function setDeletedAt(?\DateTimeImmutable $deletedAt): self{$this->deletedAt = $deletedAt;return $this;}public function getPhotoAssurance(): ?string{return $this->photo_assurance;}public function setPhotoAssurance(?string $photo_assurance): self{$this->photo_assurance = $photo_assurance;return $this;}public function getPermisConduire(): ?string{return $this->permis_conduire;}public function setPermisConduire(?string $permis_conduire): self{$this->permis_conduire = $permis_conduire;return $this;}public function getCarteGrise(): ?string{return $this->carte_grise;}public function setCarteGrise(?string $carte_grise): self{$this->carte_grise = $carte_grise;return $this;}public function getProcesVerbal(): ?string{return $this->proces_verbal;}public function setProcesVerbal(?string $proces_verbal): self{$this->proces_verbal = $proces_verbal;return $this;}}