38 lines
673 B
PHP
38 lines
673 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\MerParaDTRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity(repositoryClass: MerParaDTRepository::class)]
|
|
class MerParaDT extends MerService
|
|
{
|
|
use MerDT;
|
|
|
|
// #[ORM\Id]
|
|
// #[ORM\GeneratedValue]
|
|
// #[ORM\Column(type: 'integer')]
|
|
// private $id;
|
|
|
|
#[ORM\Column(type: 'string', length: 255)]
|
|
private $apiKey;
|
|
|
|
// public function getId(): ?int
|
|
// {
|
|
// return $this->id;
|
|
// }
|
|
|
|
public function getApiKey(): ?string
|
|
{
|
|
return $this->apiKey;
|
|
}
|
|
|
|
public function setApiKey(string $apiKey): self
|
|
{
|
|
$this->apiKey = $apiKey;
|
|
|
|
return $this;
|
|
}
|
|
}
|