phpvms/app/Repositories/SubfleetRepository.php
2018-03-19 20:50:40 -05:00

31 lines
575 B
PHP

<?php
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Models\Subfleet;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class SubfleetRepository
* @package App\Repositories
*/
class SubfleetRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
protected $fieldSearchable = [
'name' => 'like',
'type' => 'like',
];
/**
* @return string
*/
public function model()
{
return Subfleet::class;
}
}