src/Entity/AppAccounts/ApiKey.php line 13
<?phpnamespace App\Entity\AppAccounts;use Doctrine\ORM\Mapping as ORM;/*** ApiKey** @ORM\Table(name="api_key")* @ORM\Entity(repositoryClass="App\Repository\AppAccounts\ApiKeyRepository")*/class ApiKey{/*** @var int** @ORM\Column(name="api_key_id", type="integer", nullable=false)* @ORM\Id* @ORM\GeneratedValue(strategy="IDENTITY")*/private $apiKeyId;/*** @var int** @ORM\Column(name="account_id", type="integer", nullable=false)*/private $accountId;/*** @var int** @ORM\Column(name="service_id", type="integer", nullable=false, options={"comment"="référence du service"})*/private $serviceId = '0';/*** @var string|null** @ORM\Column(name="service_url", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Adresse url du service"})*/private $serviceUrl = "";/*** @var string** @ORM\Column(name="service_ip", type="string", length=50, nullable=false)*/private $serviceIp;/*** @var string|null** @ORM\Column(name="description", type="string", length=50, nullable=true, options={"default"="NULL","comment"="nom du compte des services"})*/private $description = "";/*** @var string** @ORM\Column(name="public_key", type="string", length=256, nullable=false)*/private $publicKey;public function getApiKeyId(): ?int{return $this->apiKeyId;}public function getAccountId(): ?int{return $this->accountId;}public function setAccountId(int $accountId): self{$this->accountId = $accountId;return $this;}public function getServiceId(): ?int{return $this->serviceId;}public function setServiceId(int $serviceId): self{$this->serviceId = $serviceId;return $this;}public function getServiceUrl(): ?string{return $this->serviceUrl;}public function setServiceUrl(?string $serviceUrl): self{$this->serviceUrl = $serviceUrl;return $this;}public function getServiceIp(): ?string{return $this->serviceIp;}public function setServiceIp(string $serviceIp): self{$this->serviceIp = $serviceIp;return $this;}public function getPublicKey(): ?string{return $this->publicKey;}public function setPublicKey(string $publicKey): self{$this->publicKey = $publicKey;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): self{$this->description = $description;return $this;}}