diff --git a/src/Entity/Panel.php b/src/Entity/Panel.php index ffed328..6c84f8e 100644 --- a/src/Entity/Panel.php +++ b/src/Entity/Panel.php @@ -12,14 +12,40 @@ class Panel private String $a; private String $aaaa; private String $apikey; + private int $self; - public function __construct(String $name, int $id = 0, String $a = '', String $aaaa = '', String $apikey = '') + /** + * @param String $name + * @param int $id + * @param String $a + * @param String $aaaa + * @param String $apikey + * @param int $self + */ + public function __construct(String $name, int $id = 0, String $a = '', String $aaaa = '', String $apikey = '', int $self = 0) { $this->id = $id; $this->name = $name; $this->a = $a; $this->aaaa = $aaaa; $this->apikey = $apikey; + $this->self = $self; + } + + /** + * @return int + */ + public function getSelf(): int + { + return $this->self; + } + + /** + * @param int $self + */ + public function setSelf(int $self): void + { + $this->self = $self; } @@ -105,4 +131,4 @@ class Panel $this->aaaa = $aaaa; } -} \ No newline at end of file +}