. */ namespace SP\DataModel; defined('APP_ROOT') || die(); /** * Class ClientData * * @package SP\DataModel */ class ClientData extends DataModelBase implements DataModelInterface { public ?int $id = null; public ?string $name = null; public ?string $description = null; public ?string $hash = null; public ?int $isGlobal = null; public function __construct( ?int $id = null, ?string $name = null, ?string $description = null ) { $this->id = $id; $this->name = $name; $this->description = $description; } public function getId(): ?int { return $this->id; } public function setId(int $id): void { $this->id = $id; } public function getName(): ?string { return $this->name; } public function setName(string $name): void { $this->name = $name; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): void { $this->description = $description; } public function getHash(): ?string { return $this->hash; } public function getIsGlobal(): ?int { return $this->isGlobal; } public function setIsGlobal(?int $isGlobal): void { $this->isGlobal = $isGlobal; } }