CategoryRelation
        
        extends Model
    
    
            
            in package
            
        
    
            
            implements
                            Entity                    
    
            
            Uses
                            HasEntity,                             HasFactory                    
    
Class CategoryRelation
Table of Contents
Interfaces
- Entity
 - Interface Entity.
 
Constants
- ENTITY_TYPE = 'photo_category_relation'
 
Properties
- $child_id : int
 - $depth : int
 - $incrementing : mixed
 - $parent_id : int
 - $timestamps : mixed
 - $fillable : array<string|int, string>
 - $table : mixed
 
Methods
- entityId() : int
 - entityType() : string
 - moduleName() : string
 
Constants
ENTITY_TYPE
    public
        mixed
    ENTITY_TYPE
    = 'photo_category_relation'
    
    
    
Properties
$child_id
    public
        int
    $child_id
    
    
    
    
$depth
    public
        int
    $depth
    
    
    
    
$incrementing
    public
        mixed
    $incrementing
     = false
    
    
    
$parent_id
    public
        int
    $parent_id
    
    
    
    
$timestamps
    public
        mixed
    $timestamps
     = false
    
    
    
$fillable
    protected
        array<string|int, string>
    $fillable
     = ['parent_id', 'child_id', 'depth']
    
    
    
$table
    protected
        mixed
    $table
     = 'photo_category_relations'
    
    
    
Methods
entityId()
    public
                    entityId() : int
    Return values
intentityType()
    public
                    entityType() : string
    Return values
stringmoduleName()
    public
                    moduleName() : string