prop names

This commit is contained in:
2022-05-24 10:06:04 +02:00
parent b1d6490d24
commit 19a65a8ed3
8 changed files with 40 additions and 22 deletions

View File

@ -14,7 +14,7 @@ trait MerDM
// private $id;
#[ORM\Column(type: 'integer')]
private $offerId;
private $offer_id;
// public function getId(): ?int
// {
@ -23,12 +23,12 @@ trait MerDM
public function getOfferId(): ?int
{
return $this->offerId;
return $this->offer_id;
}
public function setOfferId(int $offerId): self
{
$this->offerId = $offerId;
$this->offer_id = $offerId;
return $this;
}