Class User.
$ : integer
id
$ : string
password
name
address
identity
role
password_question_type
password_question_answer
wx_openid
phone
avatar
admin_role_id
sex
is_company
$guarded : array
The attributes that are mass assignable.
$hidden : array
The attributes that should be hidden for arrays.
$casts : array
The attributes that should be cast to native types.
userProfile()
check()
getAvatarAttribute( $value)
house()