2022-05-23 13:22:36 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Entity;
|
|
|
|
|
|
|
|
use App\Repository\MerParaDTRepository;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
#[ORM\Entity(repositoryClass: MerParaDTRepository::class)]
|
2022-05-25 07:54:28 +00:00
|
|
|
class MerParaDT extends MerService implements OttInterface
|
2022-05-23 13:22:36 +00:00
|
|
|
{
|
|
|
|
// #[ORM\Id]
|
|
|
|
// #[ORM\GeneratedValue]
|
|
|
|
// #[ORM\Column(type: 'integer')]
|
|
|
|
// private $id;
|
|
|
|
|
|
|
|
#[ORM\Column(type: 'string', length: 255)]
|
2022-05-24 08:06:04 +00:00
|
|
|
private $api_key;
|
2022-05-23 13:22:36 +00:00
|
|
|
|
|
|
|
// public function getId(): ?int
|
|
|
|
// {
|
|
|
|
// return $this->id;
|
|
|
|
// }
|
|
|
|
|
|
|
|
public function getApiKey(): ?string
|
|
|
|
{
|
2022-05-24 08:06:04 +00:00
|
|
|
return $this->api_key;
|
2022-05-23 13:22:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public function setApiKey(string $apiKey): self
|
|
|
|
{
|
2022-05-24 08:06:04 +00:00
|
|
|
$this->api_key = $apiKey;
|
2022-05-23 13:22:36 +00:00
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
}
|