mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-27 17:24:42 +02:00
22 lines
455 B
PHP
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';
|
|
}
|
|
}
|