Menu

## Usergroup extends Model
in package

Usergroup.php : 21

Class Usergroup

Model for managing user groups/roles.

##### Tags

mixin

### Table of Contents

#### Properties

$created_at : DateTime
$id : int
$updated_at : DateTime
$user : Collection|array<string|int, User>
$userprofile : Collection|array<string|int, Userprofile>
$table : mixed

#### Methods

user() : HasMany
  Get users in this user group.
userprofile() : HasMany
  Get user profiles in this user group.

### Properties

#### $created_at

Usergroup.php : 0
`public DateTime $created_at`

#### $id

Usergroup.php : 0
`public int $id`

#### $updated_at

Usergroup.php : 0
`public DateTime $updated_at`

#### $user read-only

Usergroup.php : 0
`public Collection|array<string|int, User> $user`

#### $userprofile read-only

Usergroup.php : 0
`public Collection|array<string|int, Userprofile> $userprofile`

#### $table

Usergroup.php : 23
`protected mixed $table = 'usergroups'`

### Methods

#### user()

Usergroup.php : 30

Get users in this user group.

`public user() : HasMany`

##### Return values

HasMany

#### userprofile()

Usergroup.php : 40

Get user profiles in this user group.

`public userprofile() : HasMany`

##### Return values

HasMany

## Search results