2022-02-01 20:40:01 +01:00
|
|
|
<?php declare(strict_types=1);
|
2022-01-31 14:42:17 +01:00
|
|
|
|
|
|
|
namespace App\Entity;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class Panel
|
|
|
|
{
|
2022-09-21 16:02:42 +02:00
|
|
|
/**
|
|
|
|
* @param string $name
|
|
|
|
* @param int $id
|
|
|
|
* @param string $a
|
|
|
|
* @param string $aaaa
|
|
|
|
* @param string $apikey
|
|
|
|
* @param string $apikeyPrefix
|
|
|
|
* @param string $self
|
|
|
|
*/
|
|
|
|
public function __construct(
|
|
|
|
|
|
|
|
private string $name,
|
|
|
|
private int $id = 0,
|
|
|
|
private string $a = '',
|
|
|
|
private string $aaaa = '',
|
|
|
|
private string $apikey = '',
|
|
|
|
private string $apikeyPrefix = '',
|
|
|
|
private string $self = 'no',
|
|
|
|
)
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getName(): string
|
|
|
|
{
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $name
|
|
|
|
*/
|
|
|
|
public function setName(string $name): void
|
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getId(): int
|
|
|
|
{
|
|
|
|
return $this->id;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $id
|
|
|
|
*/
|
|
|
|
public function setId(int $id): void
|
|
|
|
{
|
|
|
|
$this->id = $id;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getA(): string
|
|
|
|
{
|
|
|
|
return $this->a;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getSelf(): string
|
|
|
|
{
|
|
|
|
return $this->self;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $self
|
|
|
|
*/
|
|
|
|
public function setSelf(string $self): void
|
|
|
|
{
|
|
|
|
$this->self = $self;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getAaaa(): string
|
|
|
|
{
|
|
|
|
return $this->aaaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getApikey(): string
|
|
|
|
{
|
2022-01-31 14:42:17 +01:00
|
|
|
return $this->apikey;
|
|
|
|
}
|
2022-09-21 16:02:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $apikey
|
|
|
|
*/
|
|
|
|
public function setApikey(string $apikey): void
|
|
|
|
{
|
|
|
|
$this->apikey = $apikey;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $a
|
|
|
|
*/
|
|
|
|
public function setA(string $a): void
|
|
|
|
{
|
|
|
|
$this->a = $a;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $aaaa
|
|
|
|
*/
|
|
|
|
public function setAaaa(string $aaaa): void
|
|
|
|
{
|
|
|
|
$this->aaaa = $aaaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getApikeyPrefix(): string
|
|
|
|
{
|
|
|
|
return $this->apikeyPrefix;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $apikeyPrefix
|
|
|
|
*/
|
|
|
|
public function setApikeyPrefix(string $apikeyPrefix): void
|
|
|
|
{
|
|
|
|
$this->apikeyPrefix = $apikeyPrefix;
|
|
|
|
}
|
|
|
|
|
2022-09-17 16:29:23 +02:00
|
|
|
}
|