src/DcSiteBundle/Entity/WorkGroupRelation.php line 6

Open in your IDE?
  1. <?php
  2. namespace DcSiteBundle\Entity;
  3. class WorkGroupRelation
  4. {
  5.     private int $id;
  6.     private ?ServiceWork $work;
  7.     private ?ServiceWorkGroup $group;
  8.     public function getId(): ?int
  9.     {
  10.         return $this->id;
  11.     }
  12.     public function getWork(): ?ServiceWork
  13.     {
  14.         return $this->work;
  15.     }
  16.     public function setWork(?ServiceWork $work): self
  17.     {
  18.         $this->work $work;
  19.         return $this;
  20.     }
  21.     public function getGroup(): ?ServiceWorkGroup
  22.     {
  23.         return $this->group;
  24.     }
  25.     public function setGroup(?ServiceWorkGroup $group): self
  26.     {
  27.         $this->group $group;
  28.         return $this;
  29.     }
  30. }