WorkflowStateTable::getMap: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Workflow\Entity\WorkflowStateTable :: getMap()
//  /dist/bitrix/modules/bizproc/lib/workflow/entity/workflowstate.php:21

    
public static function getMap()
    {
        return array(
            
'ID' => array(
                
'data_type' => 'string',
                
'primary' => true,
            ),
            
'MODULE_ID' => array(
                
'data_type' => 'string'
            
),
            
'ENTITY' => array(
                
'data_type' => 'string'
            
),
            
'DOCUMENT_ID' => array(
                
'data_type' => 'string'
            
),
            
'DOCUMENT_ID_INT' => array(
                
'data_type' => 'integer'
            
),
            
'WORKFLOW_TEMPLATE_ID' => array(
                
'data_type' => 'integer'
            
),
            
'STATE' => array(
                
'data_type' => 'string'
            
),
            
'STATE_PARAMETERS' => array(
                
'data_type' => 'string'
            
),
            
'MODIFIED' => array(
                
'data_type' => 'datetime'
            
),
            
'STARTED' => array(
                
'data_type' => 'datetime'
            
),
            
'STARTED_BY' => array(
                
'data_type' => 'integer'
            
),
            
'STARTED_USER' => array(
                
'data_type' => '\Bitrix\Main\UserTable',
                
'reference' => array(
                    
'=this.STARTED_BY' => 'ref.ID'
                
),
                
'join_type' => 'LEFT',
            ),
            
'INSTANCE' => array(
                
'data_type' => '\Bitrix\Bizproc\Workflow\Entity\WorkflowInstanceTable',
                
'reference' => array(
                    
'=this.ID' => 'ref.ID'
                
),
                
'join_type' => 'LEFT',
            ),
            
'TEMPLATE' => array(
                
'data_type' => '\Bitrix\Bizproc\WorkflowTemplateTable',
                
'reference' => array(
                    
'=this.WORKFLOW_TEMPLATE_ID' => 'ref.ID'
                
),
                
'join_type' => 'LEFT'
            
),
        );
    }