mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
22 lines
422 B
PHP
22 lines
422 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\HasMany;
|
|
|
|
class UserRole extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
/**
|
|
* The relationship between a user role and users.
|
|
*/
|
|
public function users(): HasMany
|
|
{
|
|
return $this->hasMany(User::class)
|
|
->chaperone();
|
|
}
|
|
}
|