Properties

$id

$id : integer

Type

integer

$name

$name : string

Type

string

$email

$email : string

Type

string

$email_verified_at

$email_verified_at : \Illuminate\Support\Carbon|null

Type

\Illuminate\Support\Carbon|null

$password

$password : string

Type

string

$remember_token

$remember_token : string|null

Type

string|null

$created_at

$created_at : \Illuminate\Support\Carbon|null

Type

\Illuminate\Support\Carbon|null

$updated_at

$updated_at : \Illuminate\Support\Carbon|null

Type

\Illuminate\Support\Carbon|null

$activities

$activities : \Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Activitylog\Models\Activity>

Type

\Illuminate\Database\Eloquent\Collection|array<mixed,\Spatie\Activitylog\Models\Activity>

$activities_count

$activities_count : integer|null

Type

integer|null

$notifications

$notifications : \Illuminate\Notifications\DatabaseNotificationCollection|array<mixed,\Illuminate\Notifications\DatabaseNotification>

Type

\Illuminate\Notifications\DatabaseNotificationCollection|array<mixed,\Illuminate\Notifications\DatabaseNotification>

$notifications_count

$notifications_count : integer|null

Type

integer|null

$logName

$logName : 

Type

$logFillable

$logFillable : 

Type

$logUnguarded

$logUnguarded : 

Type

$fillable

$fillable : 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

getJWTIdentifier()

getJWTIdentifier() : mixed

Get the identifier that will be stored in the subject claim of the JWT.

Returns

mixed

getJWTCustomClaims()

getJWTCustomClaims() : array

Return a key value array, containing any custom claims to be added to the JWT.

Returns

array

getList()

getList(array  $validated) : array

获取列表

Parameters

array $validated

Returns

array

create()

create(array  $attributes) : \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model

创建

Parameters

array $attributes

Returns

\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model

updateSave()

updateSave(array  $data) : array

更新

Parameters

array $data

Returns

array

newModelQuery()

newModelQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

newQuery()

newQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

query()

query() : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereCreatedAt()

whereCreatedAt(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereEmail()

whereEmail(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereEmailVerifiedAt()

whereEmailVerifiedAt(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereId()

whereId(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereName()

whereName(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

wherePassword()

wherePassword(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereRememberToken()

whereRememberToken(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User

whereUpdatedAt()

whereUpdatedAt(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\User

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\User