| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Billing;
- // use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
- use App\Entity\Organization\Organization;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Classe ... qui ...
- */
- // #[Auditable]
- #[ORM\Entity]
- class PesSetting
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\OneToOne(targetEntity: Organization::class, inversedBy: 'pesSetting', cascade: [])]
- protected Organization $organization;
- public function getId(): ?int
- {
- return $this->id;
- }
- function getOrganization(): Organization
- {
- return $this->organization;
- }
- function setOrganization(Organization $organization): self
- {
- $this->organization = $organization;
- return $this;
- }
- }
|