| 1 | <?php |
||
| 10 | class Permission extends Model |
||
| 11 | { |
||
| 12 | |||
| 13 | use SoftDeletes; |
||
| 14 | protected $table = 'permissions'; |
||
| 15 | protected $dates = ['created_at', 'updated_at', 'deleted_at']; |
||
| 16 | protected $hidden = ['deleted_at']; |
||
| 17 | protected $guarded = ['id']; |
||
| 18 | protected $fillable = ['name', 'model']; |
||
| 19 | |||
| 20 | public function roles() |
||
| 24 | |||
| 25 | public static function boot() |
||
| 30 | } |
||
| 31 |