Files
animethemes-server/app/GraphQL/Schema/Fields/User/Notification/NotificationReadAtField.php
T

22 lines
455 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Schema\Fields\User\Notification;
use App\GraphQL\Schema\Fields\DateTimeTzField;
use App\Models\User\Notification;
class NotificationReadAtField extends DateTimeTzField
{
public function __construct()
{
parent::__construct(Notification::ATTRIBUTE_READ_AT);
}
public function description(): string
{
return 'The date that the user read the notification';
}
}