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