<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Rol extends Model
{
    protected $connection = 'mysql';
    protected $table = 'rol';
    public $timestamps = false;
    protected $primaryKey = 'idrol';
    use HasFactory;

    // /**
    //  * @return \Illuminate\Database\Eloquent\Relations\HasMany
    //  **/
    // public function tblRolFormularioOpcions()
    // {
    //     return $this->hasMany(\App\Models\TblRolFormularioOpcion::class, 'id_rol');
    // }

    // /**
    //  * @return \Illuminate\Database\Eloquent\Relations\HasMany
    //  **/
    // public function tblRolMenus()
    // {
    //     return $this->hasMany(\App\Models\TblRolMenu::class, 'id_rol');
    // }

    // /**
    //  * @return \Illuminate\Database\Eloquent\Relations\HasMany
    //  **/
    // public function tblUsuarioRols()
    // {
    //     return $this->hasMany(\App\Models\TblUsuarioRol::class, 'id_rol');
    // }
}
