<?php

namespace App\Models;

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

class TypeUser extends Model
{
    use HasFactory;

    protected $table = 'type_users';

    protected $primaryKey = 'type_user_id';

    public function users()
    {
        return $this->hasMany(User::class, 'type_users', 'type_user_id');
    }
}
