<?php

namespace App\Models;

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

class M_Role extends Model
{
    use HasFactory;

    protected $table = 'role';
    protected $fillable = ['role'];

    // Relasi ke model User
    public function users()
    {
        return $this->hasMany(User::class);
    }
}
