36 lines
617 B
PHP
36 lines
617 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\MerDMRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
//#[ORM\Entity(repositoryClass: MerDMRepository::class)]
|
|
trait MerDM
|
|
{
|
|
// #[ORM\Id]
|
|
// #[ORM\GeneratedValue]
|
|
// #[ORM\Column(type: 'integer')]
|
|
// private $id;
|
|
|
|
#[ORM\Column(type: 'integer')]
|
|
private $offerId;
|
|
|
|
// public function getId(): ?int
|
|
// {
|
|
// return $this->id;
|
|
// }
|
|
|
|
public function getOfferId(): ?int
|
|
{
|
|
return $this->offerId;
|
|
}
|
|
|
|
public function setOfferId(int $offerId): self
|
|
{
|
|
$this->offerId = $offerId;
|
|
|
|
return $this;
|
|
}
|
|
}
|