mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
29 lines
558 B
PHP
29 lines
558 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Spatie\Enum\Laravel\Enum;
|
|
|
|
/**
|
|
* @method static self mal_id()
|
|
* @method static self name()
|
|
* @method static self members_count()
|
|
* @method static self created()
|
|
*
|
|
* @OA\Schema(
|
|
* schema="club_search_query_orderby",
|
|
* description="Club Search Query OrderBy",
|
|
* type="string",
|
|
* enum={"mal_id","name","members_count","created"}
|
|
* )
|
|
*/
|
|
final class ClubOrderByEnum extends Enum
|
|
{
|
|
protected static function labels(): array
|
|
{
|
|
return [
|
|
"members_count" => "members"
|
|
];
|
|
}
|
|
}
|