- <?php
- namespace DcSiteBundle\Entity;
- class WorkGroupRelation
- {
-     private int $id;
-     private ?ServiceWork $work;
-     private ?ServiceWorkGroup $group;
-     public function getId(): ?int
-     {
-         return $this->id;
-     }
-     public function getWork(): ?ServiceWork
-     {
-         return $this->work;
-     }
-     public function setWork(?ServiceWork $work): self
-     {
-         $this->work = $work;
-         return $this;
-     }
-     public function getGroup(): ?ServiceWorkGroup
-     {
-         return $this->group;
-     }
-     public function setGroup(?ServiceWorkGroup $group): self
-     {
-         $this->group = $group;
-         return $this;
-     }
- }
-