<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    protected $table = 'agendamento.roles';
    
    protected $fillable = [
        'name', 'description',
    ];

    //id: na tabela users, id: na tabela roles
    // public function users()
    // {
    //     return $this->belongsToMany(User::class, 'id', 'id');
    // }

    // public function permissions()
    // {
    //     return $this->belongsToMany(Permission::class, 'id', 'id');
    // }
}
