Changeset fb32aad


Ignore:
Timestamp:
10/23/21 19:32:48 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
d7aa044
Parents:
7ba896f
Message:

edited permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Models/RolesPermissions.php

    r7ba896f rfb32aad  
    1212    protected $fillable = ["role_id", "permission_id"];
    1313
     14    public function permission() {
     15        return $this->hasMany(Permission::class, "permissions");
     16    }
    1417
     18    public function role() {
     19        return $this->hasMany(Role::class, "roles");
     20    }
    1521}
Note: See TracChangeset for help on using the changeset viewer.