source: app/Models/Permission.php@ bd9e8e3

develop
Last change on this file since bd9e8e3 was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

  • Property mode set to 100644
File size: 251 bytes
Line 
1<?php
2
3namespace App\Models;
4
5use Illuminate\Database\Eloquent\Model;
6
7class Permission extends Model
8{
9 protected $table = "permissions";
10
11 public function role() {
12 return $this->belongsToMany(Role::class, "roles_permissions");
13 }
14}
Note: See TracBrowser for help on using the repository browser.