MetaFox

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

$id  : int
$fillable  : array<string|int, string>
$table  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : UserRelationDataFactory
moduleName()  : string
newFactory()  : UserRelationDataFactory

Constants

Properties

$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']

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

public static factory(mixed $parameters) : UserRelationDataFactory
Parameters
$parameters : mixed
Return values
UserRelationDataFactory

moduleName()

public moduleName() : string
Return values
string

newFactory()

protected static newFactory() : UserRelationDataFactory
Return values
UserRelationDataFactory

        
On this page

Search results