24 lines
413 B
PHP
24 lines
413 B
PHP
<?php
|
|
|
|
namespace App\Services;
|
|
|
|
use App\Services\InsForge\InsForgeTableService;
|
|
|
|
class UserService extends InsForgeTableService
|
|
{
|
|
protected function table(): string
|
|
{
|
|
return 'users';
|
|
}
|
|
|
|
protected function searchableColumns(): array
|
|
{
|
|
return ['name', 'email'];
|
|
}
|
|
|
|
protected function sortableColumns(): array
|
|
{
|
|
return ['name', 'email', 'created_at'];
|
|
}
|
|
}
|