diff --git a/src/Entity/Domain.php b/src/Entity/Domain.php index 1c161bb..81ad970 100644 --- a/src/Entity/Domain.php +++ b/src/Entity/Domain.php @@ -14,9 +14,25 @@ class Domain /** */ - public function __construct(private string $name, private int $id = 0, private string $content = '') + public function __construct(private string $name, private String $panel, private int $id = 0) {} + /** + * @return String + */ + public function getPanel(): string + { + return $this->panel; + } + + /** + * @param String $panel + */ + public function setPanel(string $panel): void + { + $this->panel = $panel; + } + /** * @return String @@ -51,21 +67,4 @@ class Domain $this->id = $id; } - /** - * @return string - */ - public function getContent(): string - { - return $this->content; - } - - /** - * @param string $content - */ - public function setContent(string $content): void - { - $this->content = $content; - } - - } \ No newline at end of file