second
This commit is contained in:
@ -14,7 +14,7 @@ class Don
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?int $giftNumber = null;
|
||||
private ?string $giftNumber = null;
|
||||
|
||||
#[ORM\ManyToOne(inversedBy: 'dons')]
|
||||
#[ORM\JoinColumn(nullable: false)]
|
||||
@ -24,20 +24,20 @@ class Don
|
||||
#[ORM\JoinColumn(nullable: false)]
|
||||
private ?Patient $donneur = null;
|
||||
|
||||
#[ORM\Column(length: 1000, nullable: true)]
|
||||
private ?string $codeBarre = null;
|
||||
#[ORM\Column]
|
||||
private ?int $nbreTube = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getGiftNumber(): ?int
|
||||
public function getGiftNumber(): ?string
|
||||
{
|
||||
return $this->giftNumber;
|
||||
}
|
||||
|
||||
public function setGiftNumber(int $giftNumber): self
|
||||
public function setGiftNumber(string $giftNumber): self
|
||||
{
|
||||
$this->giftNumber = $giftNumber;
|
||||
|
||||
@ -68,14 +68,14 @@ class Don
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCodeBarre(): ?string
|
||||
public function getNbreTube(): ?int
|
||||
{
|
||||
return $this->codeBarre;
|
||||
return $this->nbreTube;
|
||||
}
|
||||
|
||||
public function setCodeBarre(?string $codeBarre): self
|
||||
public function setNbreTube(int $nbreTube): self
|
||||
{
|
||||
$this->codeBarre = $codeBarre;
|
||||
$this->nbreTube = $nbreTube;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user