This commit is contained in:
2024-12-26 17:45:58 +01:00
parent 9a2e4755e1
commit 4b798fd1f9
39 changed files with 1445 additions and 71 deletions

View File

@@ -31,6 +31,10 @@ class Operation
#[ORM\JoinColumn(nullable: false)]
private ?Accounting $debit = null;
#[ORM\ManyToOne(inversedBy: 'operations')]
#[ORM\JoinColumn(nullable: false)]
private ?Company $company = null;
public function getId(): ?int
{
return $this->id;
@@ -95,4 +99,16 @@ class Operation
return $this;
}
public function getCompany(): ?Company
{
return $this->company;
}
public function setCompany(?Company $company): static
{
$this->company = $company;
return $this;
}
}