. */ declare(strict_types=1); namespace FireflyIII\Models; use FireflyIII\Support\Models\ReturnsIntegerIdTrait; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; /** * @mixin IdeHelperUserRole */ class UserRole extends Model { use ReturnsIntegerIdTrait; protected $fillable = ['title']; public function groupMemberships(): HasMany { return $this->hasMany(GroupMembership::class); } }