<?php
namespace App\Worldspan\LineParser\Types\Line;

/**
 *
 * @author Lucian Sirbu
 */
class RecordHeader1 extends \App\Worldspan\LineParser\Types\WorldspanBaseLine
{
	protected $extractRegexp = "/^(?P<rawData>QU.+)/sm";

	/**
	 * Children elements
	 */
	protected $children = [
        ['key' => 'key',                              'type' => 'Constant',         'len' => 2,    'val' => 'QU',],             // Priority message indicator
        ['key' => 'blank',                            'type' => 'Constant',         'len' => 1,    'val' => ' ',],              // Blank
        ['key' => 'PseudoCityCodeOfGeneratingCRT',    'type' => 'StringRaw',           'len' => 3,],                               // Pseudo city code of generating CRT
        ['key' => 'key',                              'type' => 'Constant',         'len' => 2,    'val' => 'DT',],             // Interface routing code
	];
}
