mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 01:11:37 -06:00
27 lines
446 B
PHP
27 lines
446 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
namespace FireflyIII\Models;
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
|
|
|
|
|
/**
|
|
* Class Role
|
|
*
|
|
* @package FireflyIII\Models
|
|
*/
|
|
class Role extends Model
|
|
{
|
|
|
|
/**
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
|
*/
|
|
public function users(): BelongsToMany
|
|
{
|
|
return $this->belongsToMany('FireflyIII\User');
|
|
}
|
|
|
|
}
|