mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-19 09:09:20 +02:00
26 lines
461 B
PHP
26 lines
461 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Api\Field\Auth\Role;
|
|
|
|
use App\Http\Api\Field\IntField;
|
|
use App\Http\Api\Schema\Schema;
|
|
use App\Models\Auth\Role;
|
|
|
|
/**
|
|
* Class RolePriorityField.
|
|
*/
|
|
class RolePriorityField extends IntField
|
|
{
|
|
/**
|
|
* Create a new field instance.
|
|
*
|
|
* @param Schema $schema
|
|
*/
|
|
public function __construct(Schema $schema)
|
|
{
|
|
parent::__construct($schema, Role::ATTRIBUTE_PRIORITY);
|
|
}
|
|
}
|