array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'DATE_INSERT' => array( 'data_type' => 'datetime', 'default_value' => new DateTime(), 'required' => true, ), 'TYPE' => array( 'data_type' => 'string', 'required' => true, ), 'EXTERNAL_ID' => array( 'data_type' => 'string', 'required' => true, ), 'SECURITY_CODE' => array( 'data_type' => 'string', 'required' => true, 'default_value' => function() { return Random::getString(32); } ) ); } }