36 lines
649 B
PHP
36 lines
649 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Entity;
|
||
|
|
||
|
use App\Repository\MerDTRepository;
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
|
||
|
//#[ORM\Entity(repositoryClass: MerDTRepository::class)]
|
||
|
trait MerDT
|
||
|
{
|
||
|
// #[ORM\Id]
|
||
|
// #[ORM\GeneratedValue]
|
||
|
// #[ORM\Column(type: 'integer')]
|
||
|
// private $id;
|
||
|
|
||
|
#[ORM\Column(type: 'string', length: 255)]
|
||
|
private $serviceId;
|
||
|
|
||
|
// public function getId(): ?int
|
||
|
// {
|
||
|
// return $this->id;
|
||
|
// }
|
||
|
|
||
|
public function getServiceId(): ?string
|
||
|
{
|
||
|
return $this->serviceId;
|
||
|
}
|
||
|
|
||
|
public function setServiceId(string $serviceId): self
|
||
|
{
|
||
|
$this->serviceId = $serviceId;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
}
|