svg
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user