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

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A17AC extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * ACCOMMODATIONS
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A17ACP',  'type'=>'Constant', 'len'=>3, 'val'=>'AC:',  'label'=>'ACCOMMODATIONS IDENTIFIER "AC:"' ],
		[ 'key'=>'A17SEG',  'type'=>'Integer',  'len'=>2,                'label'=>'LEISURESHOPPER SEGMENT NUMBER' ],
		[ 'key'=>'A17ISD',  'type'=>'Date',     'len'=>7,                'label'=>'ITEM START DATE' ],
		[ 'key'=>'A17ACN',  'type'=>'StringRaw',   'len'=>20,               'label'=>'NAME OF ACCOMMODATIONS' ],
		[ 'key'=>'A17AQT',  'type'=>'Integer',  'len'=>3,                'label'=>'QUANTITY OF ACCOMMODATIONS' ],
		[ 'key'=>'A17NNN',  'type'=>'Integer',  'len'=>3,                'label'=>'NUMBER OF NIGHTS' ],
	];
}
