#23 refactoring for ranks
This commit is contained in:
24
app/Repositories/RankRepository.php
Normal file
24
app/Repositories/RankRepository.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Rank;
|
||||
use InfyOm\Generator\Common\BaseRepository;
|
||||
|
||||
class RankRepository extends BaseRepository
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $fieldSearchable = [
|
||||
|
||||
];
|
||||
|
||||
/**
|
||||
* Configure the Model
|
||||
**/
|
||||
public function model()
|
||||
{
|
||||
return Rank::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user