mc-cms-namelessmc/core/classes/DTO/UserNotificationData.php
Sam 6f15e14392
chore: fix styleci (#3588)
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:50:03 +00:00

23 lines
424 B
PHP

<?php
/**
* Represents notification data which belongs to a user.
*
* @package NamelessMC\DTO
* @author Samerton
* @version 2.2.0
* @license MIT
*/
class UserNotificationData
{
public bool $alert;
public bool $email;
public string $type;
public function __construct(object $row)
{
$this->alert = $row->alert;
$this->email = $row->email;
$this->type = $row->type;
}
}