Skip to content

Commit c62c160

Browse files
committed
Add filterable trait
1 parent 7a5749f commit c62c160

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Models/Permission.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
use Illuminate\Database\Eloquent\SoftDeletes;
88
use Illuminate\Database\Eloquent\Factories\HasFactory;
99
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
10+
use Usermp\LaravelFilter\Traits\Filterable;
1011
/**
1112
* Class Permission
1213
*
1314
* @package Usermp\LaravelPermission\Models
1415
*/
1516
class Permission extends Model
1617
{
17-
use HasFactory, Notifiable, SoftDeletes;
18+
use HasFactory, Notifiable, SoftDeletes, Filterable;
1819

1920
/**
2021
* The attributes that are mass assignable.

0 commit comments

Comments
 (0)