WorkflowTemplateTable::getMap: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Workflow\Template\Entity\WorkflowTemplateTable :: getMap()
//  /dist/bitrix/modules/bizproc/lib/workflow/template/entity/workflowtemplate.php:26

    
public static function getMap()
    {
        return array(
            
'ID' => array(
                
'data_type' => 'integer',
                
'primary' => true,
            ),
            
'MODULE_ID' => array(
                
'data_type' => 'string'
            
),
            
'ENTITY' => array(
                
'data_type' => 'string'
            
),
            
'DOCUMENT_TYPE' => array(
                
'data_type' => 'string'
            
),
            
'DOCUMENT_STATUS' => array(
                
'data_type' => 'string'
            
),
            
'AUTO_EXECUTE' => array(
                
'data_type' => 'integer'
            
),
            
'NAME' => array(
                
'data_type' => 'string'
            
),
            
'DESCRIPTION' => array(
                
'data_type' => 'string'
            
),
            
'TEMPLATE' => (new Main\ORM\Fields\ArrayField('TEMPLATE'))
                ->
configureUnserializeCallback([__CLASS__"getFromSerializedForm"]),
            
'PARAMETERS' => (new Main\ORM\Fields\ArrayField('PARAMETERS'))
                ->
configureUnserializeCallback([__CLASS__"getFromSerializedForm"]),
            
'VARIABLES' =>  (new Main\ORM\Fields\ArrayField('VARIABLES'))
                ->
configureUnserializeCallback([__CLASS__"getFromSerializedForm"]),
            
'CONSTANTS' => (new Main\ORM\Fields\ArrayField('CONSTANTS'))
                ->
configureUnserializeCallback([__CLASS__"getFromSerializedForm"]),
            
'MODIFIED' => array(
                
'data_type' => 'datetime'
            
),
            
'IS_MODIFIED' => array(
                
'data_type' => 'boolean',
                
'values' => array('Y''N')
            ),
            
'USER_ID' => array(
                
'data_type' => 'integer'
            
),
            
'SYSTEM_CODE' => array(
                
'data_type' => 'string'
            
),
            
'ACTIVE' => array(
                
'data_type' => 'boolean',
                
'values' => array('Y''N')
            ),
            
'ORIGINATOR_ID' => array(
                
'data_type' => 'string'
            
),
            
'ORIGIN_ID' => array(
                
'data_type' => 'string'
            
),
            
'USER' => array(
                
'data_type' => '\Bitrix\Main\UserTable',
                
'reference' => array(
                    
'=this.USER_ID' => 'ref.ID'
                
),
                
'join_type' => 'LEFT',
            )
        );
    }