<?php

namespace App\Models;

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

class Auths extends Model
{
    use HasFactory;
    protected $table = 'Luv2_auth';
    protected $fillable = [
        'id',
        'modul',
        'auth',
        'menu'
    ];
    public function userAuthorizations() {
        return $this->hasMany(UserAuths::class, 'id_auth', 'id');
    }
}
