generated from liutk/owl-admin-base
25 lines
526 B
PHP
25 lines
526 B
PHP
<?php
|
|
|
|
namespace App\Services\Admin;
|
|
|
|
use App\Models\Person;
|
|
use App\Models\Filters\PersonFilter;
|
|
use App\Traits\UploadTrait;
|
|
use Illuminate\Support\Arr;
|
|
|
|
/**
|
|
* @method Person getModel()
|
|
* @method Person|\Illuminate\Database\Query\Builder query()
|
|
*/
|
|
class PersonService extends BaseService
|
|
{
|
|
use UploadTrait;
|
|
|
|
protected string $modelName = Person::class;
|
|
|
|
protected string $modelFilterName = PersonFilter::class;
|
|
|
|
protected array $withRelationships = ['master'];
|
|
|
|
protected bool $modelSortAble = true;
|
|
} |