UserRelation
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory, HasTranslatableAttributes
Class UserRelation.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'user_relation'
Properties
- $avatar : string
- $avatar_dark : string
- $confirm : int
- $id : int
- $image_file_id : mixed
- $is_active : mixed
- $is_custom : mixed
- $phrase_var : string
- $relation_name : string
- $appends : mixed
- $fillable : array<string|int, string>
- $table : mixed
- $translatableAttributes : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : UserRelationFactory
- getAdminBrowseUrlAttribute() : string
- getAdminEditUrlAttribute() : string
- getAvatarAttribute() : string|null
- getAvatarDarkAttribute() : string|null
- moduleName() : string
- newFactory() : UserRelationFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_relation'
Properties
$avatar
public
string
$avatar
$avatar_dark
public
string
$avatar_dark
$confirm
public
int
$confirm
$id
public
int
$id
$image_file_id
public
mixed
$image_file_id
$is_active
public
mixed
$is_active
$is_custom
public
mixed
$is_custom
$phrase_var
public
string
$phrase_var
$relation_name
public
string
$relation_name
$appends
protected
mixed
$appends
= ['avatar', 'avatar_dark']
$fillable
protected
array<string|int, string>
$fillable
= ['phrase_var', 'confirm', 'image_file_id', 'is_active', 'is_custom', 'relation_name', 'updated_at', 'created_at']
$table
protected
mixed
$table
= 'user_relation'
$translatableAttributes
protected
mixed
$translatableAttributes
= ['phrase_var']
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
factory(mixed $parameters) : UserRelationFactory
Parameters
- $parameters : mixed
Return values
UserRelationFactorygetAdminBrowseUrlAttribute()
public
getAdminBrowseUrlAttribute() : string
Return values
stringgetAdminEditUrlAttribute()
public
getAdminEditUrlAttribute() : string
Return values
stringgetAvatarAttribute()
public
getAvatarAttribute() : string|null
Return values
string|nullgetAvatarDarkAttribute()
public
getAvatarDarkAttribute() : string|null
Return values
string|nullmoduleName()
public
moduleName() : string
Return values
stringnewFactory()
protected
static newFactory() : UserRelationFactory