mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
23 lines
424 B
PHP
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;
|
|
}
|
|
}
|