| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Billing;
- // use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
- use App\Entity\Core\File;
- use Doctrine\Common\Collections\Collection;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Classe ... qui ...
- */
- // #[Auditable]
- #[ORM\Entity]
- class SddBank
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\OneToMany(mappedBy: 'sddBank', targetEntity: BillPayment::class, cascade: [], orphanRemoval: false)]
- protected Collection $billPayments;
- #[ORM\OneToOne(targetEntity: File::class, cascade: ['persist'])]
- protected File $file;
- public function __construct()
- {
- }
- public function getId(): ?int
- {
- return $this->id;
- }
- function getBillPayments(): Collection
- {
- return $this->billPayments;
- }
- function setBillPayments(Collection $billPayments): self
- {
- $this->billPayments = $billPayments;
- return $this;
- }
- function getFile(): File
- {
- return $this->file;
- }
- function setFile(File $file): self
- {
- $this->file = $file;
- return $this;
- }
- }
|