This commit is contained in:
2022-10-16 10:36:53 +02:00
parent 85125c7d6b
commit 0f3447adf5
27 changed files with 1183 additions and 75 deletions

View File

@ -14,7 +14,7 @@ class Don
private ?int $id = null;
#[ORM\Column]
private ?string $giftNumber = null;
private ?string $codeBarre = null;
#[ORM\ManyToOne(inversedBy: 'dons')]
#[ORM\JoinColumn(nullable: false)]
@ -32,14 +32,14 @@ class Don
return $this->id;
}
public function getGiftNumber(): ?string
public function getCodeBarre(): ?string
{
return $this->giftNumber;
return $this->codeBarre;
}
public function setGiftNumber(string $giftNumber): self
public function setCodeBarre(string $codeBarre): self
{
$this->giftNumber = $giftNumber;
$this->codeBarre = $codeBarre;
return $this;
}