src/Entity/Filliation.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FilliationRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FilliationRepository::class)
  8.  * @Auditable()
  9.  */
  10. class Filliation
  11. {
  12.     /**
  13.      * @ORM\Id()
  14.      * @ORM\GeneratedValue()
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\ManyToOne(targetEntity=Identite::class)
  20.      * @ORM\JoinColumn(nullable=false)
  21.      */
  22.     private $principalIdentite;
  23.     /**
  24.      * @ORM\ManyToOne(targetEntity=Identite::class)
  25.      * @ORM\JoinColumn(nullable=false)
  26.      */
  27.     private $relativeIdentite;
  28.     /**
  29.      * @ORM\Column(type="date")
  30.      */
  31.     private $dateFilliation;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $statusOfFilliation;
  36.     /**
  37.      * @ORM\Column(type="datetime", nullable=true)
  38.      */
  39.     private $dateUpdate;
  40.     /**
  41.      * @ORM\Column(type="datetime", nullable=true)
  42.      */
  43.     private $dateCreate;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=Users::class)
  46.      */
  47.     private $userCreate;
  48.     /**
  49.      * @ORM\ManyToOne(targetEntity=Users::class)
  50.      */
  51.     private $userUpdate;
  52.     /**
  53.      * @ORM\ManyToOne(targetEntity=FilliationCategory::class)
  54.      */
  55.     private $filliationCategory;
  56.     /**
  57.      * @ORM\Column(type="boolean", nullable=true)
  58.      */
  59.     private $isDeleted;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $file;
  64.     public function getId(): ?int
  65.     {
  66.         return $this->id;
  67.     }
  68.     public function getPrincipalIdentite(): ?Identite
  69.     {
  70.         return $this->principalIdentite;
  71.     }
  72.     public function setPrincipalIdentite(?Identite $principalIdentite): self
  73.     {
  74.         $this->principalIdentite $principalIdentite;
  75.         return $this;
  76.     }
  77.     public function getRelativeIdentite(): ?Identite
  78.     {
  79.         return $this->relativeIdentite;
  80.     }
  81.     public function setRelativeIdentite(?Identite $relativeIdentite): self
  82.     {
  83.         $this->relativeIdentite $relativeIdentite;
  84.         return $this;
  85.     }
  86.     public function getDateFilliation(): ?\DateTimeInterface
  87.     {
  88.         return $this->dateFilliation;
  89.     }
  90.     public function setDateFilliation(\DateTimeInterface $dateFilliation): self
  91.     {
  92.         $this->dateFilliation $dateFilliation;
  93.         return $this;
  94.     }
  95.     public function getStatusOfFilliation(): ?int
  96.     {
  97.         return $this->statusOfFilliation;
  98.     }
  99.     public function setStatusOfFilliation(?int $statusOfFilliation): self
  100.     {
  101.         $this->statusOfFilliation $statusOfFilliation;
  102.         return $this;
  103.     }
  104.     public function getDateUpdate(): ?\DateTimeInterface
  105.     {
  106.         return $this->dateUpdate;
  107.     }
  108.     public function setDateUpdate(?\DateTimeInterface $dateUpdate): self
  109.     {
  110.         $this->dateUpdate $dateUpdate;
  111.         return $this;
  112.     }
  113.     public function getDateCreate(): ?\DateTimeInterface
  114.     {
  115.         return $this->dateCreate;
  116.     }
  117.     public function setDateCreate(?\DateTimeInterface $dateCreate): self
  118.     {
  119.         $this->dateCreate $dateCreate;
  120.         return $this;
  121.     }
  122.     public function getUserCreate(): ?Users
  123.     {
  124.         return $this->userCreate;
  125.     }
  126.     public function setUserCreate(?Users $userCreate): self
  127.     {
  128.         $this->userCreate $userCreate;
  129.         return $this;
  130.     }
  131.     public function getUserUpdate(): ?Users
  132.     {
  133.         return $this->userUpdate;
  134.     }
  135.     public function setUserUpdate(?Users $userUpdate): self
  136.     {
  137.         $this->userUpdate $userUpdate;
  138.         return $this;
  139.     }
  140.     public function getFilliationCategory(): ?FilliationCategory
  141.     {
  142.         return $this->filliationCategory;
  143.     }
  144.     public function setFilliationCategory(?FilliationCategory $filliationCategory): self
  145.     {
  146.         $this->filliationCategory $filliationCategory;
  147.         return $this;
  148.     }
  149.     public function getIsDeleted(): ?bool
  150.     {
  151.         return $this->isDeleted;
  152.     }
  153.     public function setIsDeleted(?bool $isDeleted): self
  154.     {
  155.         $this->isDeleted $isDeleted;
  156.         return $this;
  157.     }
  158.     public function getFile(): ?string
  159.     {
  160.         return $this->file;
  161.     }
  162.     public function setFile(?string $file): self
  163.     {
  164.         $this->file $file;
  165.         return $this;
  166.     }
  167. }