Add table/models and admin for expenses #136
This commit is contained in:
21
app/Repositories/ExpenseRepository.php
Normal file
21
app/Repositories/ExpenseRepository.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Expense;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
/**
|
||||
* Class ExpenseRepository
|
||||
* @package App\Repositories
|
||||
*/
|
||||
class ExpenseRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
use CacheableRepository;
|
||||
|
||||
public function model()
|
||||
{
|
||||
return Expense::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user