<?php
namespace App\Galileo\LineParser\Types;

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A17PC extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * STOPS ITEM
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A17PCI',  'type'=>'Constant', 'len'=>3, 'val'=>'PC:',  'label'=>'PORTS OF CALL IDENTIFIER "PC:"' ],
		[ 'key'=>'A17SEG',  'type'=>'Integer',  'len'=>2,                'label'=>'LEISURESHOPPER SEGMENT NUMBER' ],
		[ 'key'=>'A17PRT',  'type'=>'Letters',  'len'=>20,               'label'=>'PORT NAME' ],
		[ 'key'=>'A17PAD',  'type'=>'Date',     'len'=>7,                'label'=>'PORT ARRIVAL DATE' ],
		[ 'key'=>'A17PDD',  'type'=>'Date',     'len'=>7,                'label'=>'PORT DEPARTURE DATE' ],
		[ 'key'=>'A17PAT',  'type'=>'StringRaw',   'len'=>5,                'label'=>'PORT ARRIVAL TIME' ],
		[ 'key'=>'A17PST',  'type'=>'StringRaw',   'len'=>5,                'label'=>'PORT SAILING TIME' ],
	];
}
