| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Education;
- use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Classe ... qui ...
- */
- #[Auditable]
- #[ORM\Entity]
- class CycleByEducation
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\ManyToOne(inversedBy: 'cycleByEducations')]
- private Education $education;
- #[ORM\ManyToOne(inversedBy: 'cycleByEducations')]
- private Cycle $cycle;
- public function getId(): ?int
- {
- return $this->id;
- }
- public function getEducation(): ?Education
- {
- return $this->education;
- }
- public function setEducation(?Education $education): self
- {
- $this->education = $education;
- return $this;
- }
- public function getCycle(): ?Cycle
- {
- return $this->cycle;
- }
- public function setCycle(?Cycle $cycle): self
- {
- $this->cycle = $cycle;
- return $this;
- }
- }
|