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
|
|
|
|
{
|
|
|
|
private int $id;
|
|
|
|
private String $name;
|
|
|
|
private String $a;
|
|
|
|
private String $aaaa;
|
|
|
|
private String $apikey;
|
|
|
|
|
|
|
|
public function __construct(String $name, int $id = 0, String $a = '', String $aaaa = '', String $apikey = '')
|
|
|
|
{
|
|
|
|
$this->id = $id;
|
|
|
|
$this->name = $name;
|
|
|
|
$this->a = $a;
|
|
|
|
$this->aaaa = $aaaa;
|
|
|
|
$this->apikey = $apikey;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getA(): string
|
|
|
|
{
|
2022-01-31 19:17:47 +01:00
|
|
|
return $this->a;
|
2022-01-31 14:42:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getAaaa(): string
|
|
|
|
{
|
2022-01-31 19:17:47 +01:00
|
|
|
return $this->aaaa;
|
2022-01-31 14:42:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getApikey(): string
|
|
|
|
{
|
|
|
|
return $this->apikey;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @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 getName(): string
|
|
|
|
{
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param String $apikey
|
|
|
|
*/
|
|
|
|
public function setApikey(string $apikey): void
|
|
|
|
{
|
|
|
|
$this->apikey = $apikey;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param String $name
|
|
|
|
*/
|
|
|
|
public function setName(string $name): void
|
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param String $a
|
|
|
|
*/
|
|
|
|
public function setA(string $a): void
|
|
|
|
{
|
|
|
|
$this->a = $a;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param String $aaaa
|
|
|
|
*/
|
|
|
|
public function setAaaa(string $aaaa): void
|
|
|
|
{
|
|
|
|
$this->aaaa = $aaaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|