<?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';
    }
}
