UserActivity
        
        extends Model
    
    
            
            in package
            
        
    
            
            implements
                            Entity                    
    
            
            Uses
                            HasEntity,                             HasFactory                    
    
Class UserActivity.
Table of Contents
Interfaces
- Entity
 - Interface Entity.
 
Constants
- ENTITY_TYPE = 'user_activity'
 
Properties
- $id : int
 - $last_activity : string
 - $last_ip_address : string
 - $last_login : string
 - $timestamps : mixed
 - $casts : array<string, string>
 - The attributes that should be cast to native types.
 - $fillable : array<string|int, string>
 - $table : mixed
 
Methods
- entityId() : int
 - entityType() : string
 - factory() : UserActivityFactory
 - moduleName() : string
 - newFactory() : UserActivityFactory
 
Constants
ENTITY_TYPE
    public
        mixed
    ENTITY_TYPE
    = 'user_activity'
    
    
    
Properties
$id
    public
        int
    $id
    
    
    
    
$last_activity
    public
        string
    $last_activity
    
    
    
    
$last_ip_address
    public
        string
    $last_ip_address
    
    
    
    
$last_login
    public
        string
    $last_login
    
    
    
    
$timestamps
    public
        mixed
    $timestamps
     = false
    
    
    
$casts
The attributes that should be cast to native types.
    protected
        array<string, string>
    $casts
     = ['last_activity' => 'datetime', 'last_login' => 'datetime']
    
    
    
$fillable
    protected
        array<string|int, string>
    $fillable
     = ['last_login', 'last_activity', 'last_ip_address']
    
    
    
$table
    protected
        mixed
    $table
     = 'user_activities'
    
    
    
Methods
entityId()
    public
                    entityId() : int
    Return values
intentityType()
    public
                    entityType() : string
    Return values
stringfactory()
    public
            static        factory(mixed $parameters) : UserActivityFactory
    Parameters
- $parameters : mixed
 
Return values
UserActivityFactorymoduleName()
    public
                    moduleName() : string
    Return values
stringnewFactory()
    protected
            static        newFactory() : UserActivityFactory