UserRelationData
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory
Class UserRelationData.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'user_relation_data'
Properties
Methods
- entityId() : int
- entityType() : string
- factory() : UserRelationDataFactory
- moduleName() : string
- newFactory() : UserRelationDataFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_relation_data'
Properties
$id
public
int
$id
$fillable
protected
array<string|int, string>
$fillable
= ['relation_id', 'user_id', 'user_type', 'with_user_id', 'with_user_type', 'status_id', 'total_like', 'total_comment', 'updated_at', 'created_at']
$table
protected
mixed
$table
= 'user_relation_data'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : UserRelationDataFactory
Parameters
- $parameters : mixed
Return values
UserRelationDataFactorymoduleName()
public
moduleName() : string
Return values
stringnewFactory()
protected
static newFactory() : UserRelationDataFactory