phpvms/app/Repositories/SubfleetRepository.php

23 lines
445 B
PHP
Raw Normal View History

<?php
namespace App\Repositories;
use App\Models\Subfleet;
use Prettus\Repository\Contracts\CacheableInterface;
2018-02-21 12:33:09 +08:00
use Prettus\Repository\Traits\CacheableRepository;
class SubfleetRepository extends BaseRepository implements CacheableInterface
{
use CacheableRepository;
2017-08-25 02:03:10 +08:00
protected $fieldSearchable = [
'name' => 'like',
'type' => 'like',
];
public function model()
{
return Subfleet::class;
}
}