removed ip added content

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-12 19:30:25 +01:00
parent 05db619afd
commit cf8fb56d2d

View File

@ -2,41 +2,38 @@
namespace App\Entity;
use App\Enums\PanelType;
/**
*
*/
class Domain
{
private int $id;
private int $panelID;
private String $name;
private String $a;
private String $aaaa;
public function __construct(String $name, int $id = 0, int $panelID = 0, String $a = '', String $aaaa = '')
/**
*/
public function __construct(private string $name, private int $id = 0, private string $content = '')
{}
/**
* @return String
*/
public function getName(): string
{
return $this->name;
}
/**
* @param String $name
*/
public function setName(string $name): void
{
$this->id = $id;
$this->panelID = $panelID;
$this->name = $name;
$this->a = $a;
$this->aaaa = $aaaa;
}
/**
* @return String
*/
public function getA(): string
{
return $this->a;
}
/**
* @return String
*/
public function getAaaa(): string
{
return $this->aaaa;
}
/**
* @return int
@ -55,51 +52,20 @@ class Domain
}
/**
* @return String
* @return string
*/
public function getName(): string
public function getContent(): string
{
return $this->name;
return $this->content;
}
/**
* @return int
* @param string $content
*/
public function getPanelID(): int
public function setContent(string $content): void
{
return $this->panelID;
$this->content = $content;
}
/**
* @param int $panelID
*/
public function setPanelID(int $panelID): void
{
$this->panelID = $panelID;
}
/**
* @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;
}
}