mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
25 lines
576 B
PHP
25 lines
576 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models\Auth;
|
|
|
|
use App\Contracts\Models\Nameable;
|
|
use Kyrch\Prohibition\Models\Sanction as BaseSanction;
|
|
|
|
class Sanction extends BaseSanction implements Nameable
|
|
{
|
|
final public const string TABLE = 'sanctions';
|
|
|
|
final public const string ATTRIBUTE_ID = 'id';
|
|
final public const string ATTRIBUTE_NAME = 'name';
|
|
|
|
final public const string RELATION_PROHIBITIONS = 'prohibitions';
|
|
final public const string RELATION_USERS = 'users';
|
|
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
}
|