generated from liutk/owl-admin-base
22 lines
475 B
PHP
22 lines
475 B
PHP
<?php
|
|
|
|
namespace App\Admin\Services\Finance;
|
|
|
|
use App\Admin\Filters\ReimbursementFilter;
|
|
use App\Admin\Services\BaseService;
|
|
use App\Models\Reimbursement;
|
|
|
|
class ReimbursementService extends BaseService
|
|
{
|
|
protected string $modelName = Reimbursement::class;
|
|
|
|
protected string $modelFilterName = ReimbursementFilter::class;
|
|
|
|
protected array $withRelationships = ['employee', 'type', 'workflow'];
|
|
|
|
public function sortColumn()
|
|
{
|
|
return 'id';
|
|
}
|
|
}
|