src/Entity/Sinistre.php line 14

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Sinistre
  7.  *
  8.  * @ORM\Table(name="sinistre")
  9.  * @ORM\Entity
  10.  */
  11. class Sinistre
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var datetime_immutable
  23.      *
  24.      * @ORM\Column(name="date_accident", type="datetime_immutable", nullable=false)
  25.      */
  26.     private $dateAccident;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="lieu_accident", type="string", length=255, nullable=false)
  31.      */
  32.     private $lieuAccident;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="circonstances_accident", type="text", length=0, nullable=false)
  37.      */
  38.     private $circonstancesAccident;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="nom", type="string", length=255, nullable=false)
  43.      */
  44.     private $nom;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="prenom", type="string", length=255, nullable=false)
  49.      */
  50.     private $prenom;
  51.     /**
  52.      * @var int
  53.      *
  54.      * @ORM\Column(name="telephone", type="integer", nullable=false)
  55.      */
  56.     private $telephone;
  57.     /**
  58.      * @var int
  59.      *
  60.      * @ORM\Column(name="statut", type="integer", nullable=false)
  61.      */
  62.     private $statut;
  63.     /**
  64.      * @var datetime_immutable
  65.      *
  66.      * @ORM\Column(name="created_at", type="datetime_immutable", nullable=false)
  67.      */
  68.     private $createdAt;
  69.     /**
  70.      * @var datetime_immutable|null
  71.      *
  72.      * @ORM\Column(name="deleted_at", type="datetime_immutable", nullable=true)
  73.      */
  74.     private $deletedAt;
  75.     /**
  76.      * @var string|null
  77.      *
  78.      * @ORM\Column(name="photo_assurance", type="string", length=255, nullable=true)
  79.      */
  80.     private $photo_assurance;
  81.     /**
  82.      * @var string|null
  83.      *
  84.      * @ORM\Column(name="permis_conduire", type="string", length=255, nullable=true)
  85.      */
  86.     private $permis_conduire;
  87.     /**
  88.      * @var string|null
  89.      *
  90.      * @ORM\Column(name="carte_grise", type="string", length=255, nullable=true)
  91.      */
  92.     private $carte_grise;
  93.         /**
  94.      * @var string|null
  95.      *
  96.      * @ORM\Column(name="proces_verbal", type="string", length=255, nullable=true)
  97.      */
  98.     private $proces_verbal;
  99.     
  100.     public function getId(): ?int
  101.     {
  102.         return $this->id;
  103.     }
  104.     public function getDateAccident(): ?\DateTimeImmutable
  105.     {
  106.         return $this->dateAccident;
  107.     }
  108.     public function setDateAccident(\DateTimeImmutable $dateAccident): self
  109.     {
  110.         $this->dateAccident $dateAccident;
  111.         return $this;
  112.     }
  113.     public function getLieuAccident(): ?string
  114.     {
  115.         return $this->lieuAccident;
  116.     }
  117.     public function setLieuAccident(string $lieuAccident): self
  118.     {
  119.         $this->lieuAccident $lieuAccident;
  120.         return $this;
  121.     }
  122.     public function getCirconstancesAccident(): ?string
  123.     {
  124.         return $this->circonstancesAccident;
  125.     }
  126.     public function setCirconstancesAccident(string $circonstancesAccident): self
  127.     {
  128.         $this->circonstancesAccident $circonstancesAccident;
  129.         return $this;
  130.     }
  131.     public function getNom(): ?string
  132.     {
  133.         return $this->nom;
  134.     }
  135.     public function setNom(string $nom): self
  136.     {
  137.         $this->nom $nom;
  138.         return $this;
  139.     }
  140.     public function getPrenom(): ?string
  141.     {
  142.         return $this->prenom;
  143.     }
  144.     public function setPrenom(string $prenom): self
  145.     {
  146.         $this->prenom $prenom;
  147.         return $this;
  148.     }
  149.     public function getTelephone(): ?int
  150.     {
  151.         return $this->telephone;
  152.     }
  153.     public function setTelephone(int $telephone): self
  154.     {
  155.         $this->telephone $telephone;
  156.         return $this;
  157.     }
  158.     public function getStatut(): ?int
  159.     {
  160.         return $this->statut;
  161.     }
  162.     public function setStatut(int $statut): self
  163.     {
  164.         $this->statut $statut;
  165.         return $this;
  166.     }
  167.     public function getCreatedAt(): ?\DateTimeImmutable
  168.     {
  169.         return $this->createdAt;
  170.     }
  171.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  172.     {
  173.         $this->createdAt $createdAt;
  174.         return $this;
  175.     }
  176.     public function getDeletedAt(): ?\DateTimeImmutable
  177.     {
  178.         return $this->deletedAt;
  179.     }
  180.     public function setDeletedAt(?\DateTimeImmutable $deletedAt): self
  181.     {
  182.         $this->deletedAt $deletedAt;
  183.         return $this;
  184.     }
  185.     public function getPhotoAssurance(): ?string
  186.     {
  187.         return $this->photo_assurance;
  188.     }
  189.     public function setPhotoAssurance(?string $photo_assurance): self
  190.     {
  191.         $this->photo_assurance $photo_assurance;
  192.         return $this;
  193.     }
  194.     public function getPermisConduire(): ?string
  195.     {
  196.         return $this->permis_conduire;
  197.     }
  198.     public function setPermisConduire(?string $permis_conduire): self
  199.     {
  200.         $this->permis_conduire $permis_conduire;
  201.         return $this;
  202.     }
  203.     public function getCarteGrise(): ?string
  204.     {
  205.         return $this->carte_grise;
  206.     }
  207.     public function setCarteGrise(?string $carte_grise): self
  208.     {
  209.         $this->carte_grise $carte_grise;
  210.         return $this;
  211.     }
  212.     public function getProcesVerbal(): ?string
  213.     {
  214.         return $this->proces_verbal;
  215.     }
  216.     public function setProcesVerbal(?string $proces_verbal): self
  217.     {
  218.         $this->proces_verbal $proces_verbal;
  219.         return $this;
  220.     }
  221.     
  222.     
  223. }