oms-OnlineResourceWatcher/Models/InformBlacklist.php
Dennis Eichhorn b3050d6b2f
Some checks failed
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix version and bugs
2024-05-21 00:09:15 +02:00

56 lines
937 B
PHP

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\OnlineResourceWatcher\Models
* @copyright Dennis Eichhorn
* @license OMS License 2.2
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\OnlineResourceWatcher\Models;
/**
* Inform class.
*
* @package Modules\OnlineResourceWatcher\Models
* @license OMS License 2.2
* @link https://jingga.app
* @since 1.0.0
*/
class InformBlacklist implements \JsonSerializable
{
/**
* ID.
*
* @var int
* @since 1.0.0
*/
public int $id = 0;
public string $email = '';
/**
* {@inheritdoc}
*/
public function toArray() : array
{
return [
'id' => $this->id,
'email' => $this->email,
];
}
/**
* {@inheritdoc}
*/
public function jsonSerialize() : mixed
{
return $this->toArray();
}
}