src/Entity/DemandeByCanal.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DemandeByCanalRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=DemandeByCanalRepository::class)
  7.  */
  8. class DemandeByCanal
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="datetime")
  18.      */
  19.     private $dateDemande;
  20.     /**
  21.      * @ORM\Column(type="datetime", nullable=true)
  22.      */
  23.     private $dateTraitement;
  24.    
  25.     /**
  26.      * @ORM\ManyToOne(targetEntity=Canal::class, inversedBy="demandeByCanals")
  27.      */
  28.     private $canal;
  29.   
  30.     /**
  31.      * @ORM\Column(type="text", nullable=true)
  32.      */
  33.     private $contenu;
  34.     /**
  35.      * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="demandeByCanals")
  36.      */
  37.     private $utilisateur;
  38.     /**
  39.      * @ORM\Column(type="boolean", nullable=true)
  40.      */
  41.     private $status;
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity=CalendarEvent::class, inversedBy="demandeByCanals")
  44.      */
  45.     private $calendar;
  46.     /**
  47.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="demandeByCanals")
  48.      */
  49.     private $executant;
  50.     /**
  51.      * @ORM\ManyToOne(targetEntity=Tache::class, inversedBy="demandeByCanals")
  52.      */
  53.     private $tache;
  54.     /**
  55.      * @ORM\Column(type="boolean", nullable=true)
  56.      */
  57.     private $archive;
  58.     /**
  59.      * @ORM\Column(type="string", length=255, nullable=true)
  60.      */
  61.     private $note;
  62.     public function getId(): ?int
  63.     {
  64.         return $this->id;
  65.     }
  66.     public function getDateDemande(): ?\DateTimeInterface
  67.     {
  68.         return $this->dateDemande;
  69.     }
  70.     public function setDateDemande(\DateTimeInterface $dateDemande): self
  71.     {
  72.         $this->dateDemande $dateDemande;
  73.         return $this;
  74.     }
  75.     public function getDateTraitement(): ?\DateTimeInterface
  76.     {
  77.         return $this->dateTraitement;
  78.     }
  79.     public function setDateTraitement(?\DateTimeInterface $dateTraitement): self
  80.     {
  81.         $this->dateTraitement $dateTraitement;
  82.         return $this;
  83.     }
  84.     public function getCanal(): ?Canal
  85.     {
  86.         return $this->canal;
  87.     }
  88.     public function setCanal(?Canal $canal): self
  89.     {
  90.         $this->canal $canal;
  91.         return $this;
  92.     }
  93.     public function getContenu(): ?string
  94.     {
  95.         return $this->contenu;
  96.     }
  97.     public function setContenu(?string $contenu): self
  98.     {
  99.         $this->contenu $contenu;
  100.         return $this;
  101.     }
  102.     public function getUtilisateur(): ?Tier
  103.     {
  104.         return $this->utilisateur;
  105.     }
  106.     public function setUtilisateur(?Tier $utilisateur): self
  107.     {
  108.         $this->utilisateur $utilisateur;
  109.         return $this;
  110.     }
  111.     public function isStatus(): ?bool
  112.     {
  113.         return $this->status;
  114.     }
  115.     public function setStatus(?bool $status): self
  116.     {
  117.         $this->status $status;
  118.         return $this;
  119.     }
  120.     public function getCalendar(): ?CalendarEvent
  121.     {
  122.         return $this->calendar;
  123.     }
  124.     public function setCalendar(?CalendarEvent $calendar): self
  125.     {
  126.         $this->calendar $calendar;
  127.         return $this;
  128.     }
  129.     public function getExecutant(): ?User
  130.     {
  131.         return $this->executant;
  132.     }
  133.     public function setExecutant(?User $executant): self
  134.     {
  135.         $this->executant $executant;
  136.         return $this;
  137.     }
  138.     public function getTache(): ?Tache
  139.     {
  140.         return $this->tache;
  141.     }
  142.     public function setTache(?Tache $tache): self
  143.     {
  144.         $this->tache $tache;
  145.         return $this;
  146.     }
  147.     public function isArchive(): ?bool
  148.     {
  149.         return $this->archive;
  150.     }
  151.     public function setArchive(?bool $archive): self
  152.     {
  153.         $this->archive $archive;
  154.         return $this;
  155.     }
  156.     public function getNote(): ?string
  157.     {
  158.         return $this->note;
  159.     }
  160.     public function setNote(?string $note): self
  161.     {
  162.         $this->note $note;
  163.         return $this;
  164.     }
  165. }