<?php
namespace App\Bsp\Hot230\Lines\Header;

/**
 * Line parser
 * @author Lucian Sirbu
 */
class BCH02 extends \App\Bsp\Hot230\HOTBase
{
	protected $children = [
		[ 'key'=>'SMSG',  'type'=>'Constant', 'val'=>'BCH',       'len'=>3,      'label'=>'Standard Message Identifier', ],    // S/M/Standard Message Identifier
		[ 'key'=>'SQNR',  'type'=>'Integer',                      'len'=>8,      'label'=>'Sequence Number', ],                // S/M/Sequence Number
		[ 'key'=>'STNQ',  'type'=>'Constant', 'val'=>'02',        'len'=>2,      'label'=>'Standard Numeric Qualifier', ],     // S/M/Standard Numeric Qualifier
		[ 'key'=>'PDAI',  'type'=>'StringRaw',                       'len'=>3,      'label'=>'Processing Date Identifier', ],     // S/M/Processing Date Identifier
		[ 'key'=>'PCYC',  'type'=>'Digits',                       'len'=>1,      'label'=>'Processing Cycle Identifier', ],    // S/M/Processing Cycle Identifier
		[ 'key'=>'BAED',  'type'=>'Date',     'fmt'=>'YYMMDD',    'len'=>6,      'label'=>'Billing Analysis Ending Date', ],   // S/M/Billing Analysis Ending Date
		[ 'key'=>'DYRI',  'type'=>'StringRaw',                       'len'=>1,      'label'=>'Dynamic Run Identifier', ],         // S/M/Dynamic Run Identifier
		[ 'key'=>'HRED',  'type'=>'Date',     'fmt'=>'YYMMDD',    'len'=>6,      'label'=>'HOT Reporting End Date', ],         // S/M/HOT Reporting End Date
		[ 'key'=>'RESD',  'type'=>'StringTrim',                   'len'=>106,    'label'=>'Reserved Space', ],                 //  /M/Reserved Space
	];
}
