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

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

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A17UDP',  'type'=>'Constant', 'len'=>3, 'val'=>'UD:',  'label'=>'UNIT DESCRIPTION IDENTIFIER "UD:"' ],
		[ 'key'=>'A17SEG',  'type'=>'Integer',  'len'=>2,                'label'=>'LEISURESHOPPER SEGMENT NUMBER' ],
		[ 'key'=>'A17ISD',  'type'=>'Date',     'len'=>7,                'label'=>'ITEM START DATE' ],
		[ 'key'=>'A17UDS',  'type'=>'StringRaw',   'len'=>15,               'label'=>'UNIT DESCRIPTION' ],
		[ 'key'=>'A17NUT',  'type'=>'Integer',  'len'=>3,                'label'=>'NUMBER OF UNITS' ],
		[ 'key'=>'A17UCP',  'type'=>'Letters',  'len'=>1,                'label'=>'UNIT CAPACITY' ],
		[ 'key'=>'A17UTY',  'type'=>'StringRaw',   'len'=>10,               'label'=>'UNIT TYPE' ],
	];
}
