Add meta data to models.

This commit is contained in:
James Cole
2021-09-18 10:08:10 +02:00
parent b3a98d7079
commit 481a6bdd5f
17 changed files with 87 additions and 0 deletions

View File

@@ -151,6 +151,11 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @method static Builder|User whereGuid($value)
* @method static Builder|User whereTwoFactorRecoveryCodes($value)
* @method static Builder|User whereTwoFactorSecret($value)
* @property int|null $user_group_id
* @property-read \Illuminate\Database\Eloquent\Collection|GroupMembership[] $groupMemberships
* @property-read int|null $group_memberships_count
* @property-read UserGroup|null $userGroup
* @method static Builder|User whereUserGroupId($value)
*/
class User extends Authenticatable
{