\App\ModelsUser

Class User.

Summary

Methods
Properties
Constants
userProfile()
check()
getAvatarAttribute()
house()
$
$
$
$
$
$
$
$
$
$
$
$
$
$
No constants found
No protected methods found
$guarded
$hidden
$casts
N/A
No private methods found
No private properties found
N/A

Properties

$

$ : integer

id

Type

integer

$

$ : string

password

Type

string

$

$ : string

name

Type

string

$

$ : string

address

Type

string

$

$ : integer

identity

Type

integer

$

$ : integer

role

Type

integer

$

$ : integer

password_question_type

Type

integer

$

$ : string

password_question_answer

Type

string

$

$ : string

wx_openid

Type

string

$

$ : string

phone

Type

string

$

$ : string

avatar

Type

string

$

$ : integer

admin_role_id

Type

integer

$

$ : integer

sex

Type

integer

$

$ : integer

is_company

Type

integer

$guarded

$guarded : array

The attributes that are mass assignable.

Type

array

$hidden

$hidden : array

The attributes that should be hidden for arrays.

Type

array

$casts

$casts : array

The attributes that should be cast to native types.

Type

array

Methods

userProfile()

userProfile() 

check()

check() 

getAvatarAttribute()

getAvatarAttribute(  $value) 

Parameters

$value

house()

house()