src/Entity/IdentiteAdresse.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\IdentiteAdresseRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=IdentiteAdresseRepository::class)
  8.  * @Auditable()
  9.  */
  10. class IdentiteAdresse
  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 $identite;
  23.     /**
  24.      * @ORM\ManyToOne(targetEntity=Adresses::class)
  25.      * @ORM\JoinColumn(nullable=false)
  26.      */
  27.     private $Adresse;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=Users::class)
  30.      * @ORM\JoinColumn(nullable=false)
  31.      */
  32.     private $userCreate;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=Users::class)
  35.      */
  36.     private $userUpdate;
  37.     /**
  38.      * @ORM\Column(type="datetime")
  39.      */
  40.     private $dateCreated;
  41.     /**
  42.      * @ORM\Column(type="datetime", nullable=true)
  43.      */
  44.     private $dateUpdated;
  45.     /**
  46.      * @ORM\Column(type="integer", nullable=true)
  47.      */
  48.     private $status;
  49.     /**
  50.      * @ORM\Column(type="boolean")
  51.      */
  52.     private $isDeleted;
  53.     public function getId(): ?int
  54.     {
  55.         return $this->id;
  56.     }
  57.     public function getIdentite(): ?Identite
  58.     {
  59.         return $this->identite;
  60.     }
  61.     public function setIdentite(?Identite $identite): self
  62.     {
  63.         $this->identite $identite;
  64.         return $this;
  65.     }
  66.     public function getAdresse(): ?Adresses
  67.     {
  68.         return $this->Adresse;
  69.     }
  70.     public function setAdresse(?Adresses $Adresse): self
  71.     {
  72.         $this->Adresse $Adresse;
  73.         return $this;
  74.     }
  75.     public function getUserCreate(): ?Users
  76.     {
  77.         return $this->userCreate;
  78.     }
  79.     public function setUserCreate(?Users $userCreate): self
  80.     {
  81.         $this->userCreate $userCreate;
  82.         return $this;
  83.     }
  84.     public function getUserUpdate(): ?Users
  85.     {
  86.         return $this->userUpdate;
  87.     }
  88.     public function setUserUpdate(?Users $userUpdate): self
  89.     {
  90.         $this->userUpdate $userUpdate;
  91.         return $this;
  92.     }
  93.     public function getDateCreated(): ?\DateTimeInterface
  94.     {
  95.         return $this->dateCreated;
  96.     }
  97.     public function setDateCreated(\DateTimeInterface $dateCreated): self
  98.     {
  99.         $this->dateCreated $dateCreated;
  100.         return $this;
  101.     }
  102.     public function getDateUpdated(): ?\DateTimeInterface
  103.     {
  104.         return $this->dateUpdated;
  105.     }
  106.     public function setDateUpdated(?\DateTimeInterface $dateUpdated): self
  107.     {
  108.         $this->dateUpdated $dateUpdated;
  109.         return $this;
  110.     }
  111.     public function getStatus(): ?int
  112.     {
  113.         return $this->status;
  114.     }
  115.     public function setStatus(?int $status): self
  116.     {
  117.         $this->status $status;
  118.         return $this;
  119.     }
  120.     public function getIsDeleted(): ?bool
  121.     {
  122.         return $this->isDeleted;
  123.     }
  124.     public function setIsDeleted(bool $isDeleted): self
  125.     {
  126.         $this->isDeleted $isDeleted;
  127.         return $this;
  128.     }
  129. }