bindAPI/src/Entity/Domain.php

71 lines
843 B
PHP
Raw Normal View History

<?php declare(strict_types=1);
namespace App\Entity;
use App\Enums\PanelType;
/**
*
*/
class Domain
{
/**
*/
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->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 getContent(): string
{
return $this->content;
}
/**
* @param string $content
*/
public function setContent(string $content): void
{
$this->content = $content;
}
}