<?php
global $runnerDbTableInfo;
$runnerDbTableInfo['bank_reconciliation'] = array(
	'type' => 0,
	'foreignKeys' => array( 
		 
	),
	'fields' => array( 
		array(
			'name' => 'id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => true,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'bank_reconciliation_uuid',
			'type' => 200,
			'size' => 36,
			'scale' => 0,
			'typeName' => 'char(36)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'company_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'bank_account_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'bank_statement_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'reconciliation_date',
			'type' => 7,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'date',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'statement_balance',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'book_balance',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'outstanding_checks',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'deposits_in_transit',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'adjustment_amount',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'difference_amount',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'status',
			'type' => 200,
			'size' => 30,
			'scale' => 0,
			'typeName' => 'varchar(30)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '\'DRAFT\'',
			'defaultValue' => 'DRAFT' 
		),
		array(
			'name' => 'prepared_by_platform_user_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'approved_by_platform_user_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'prepared_at',
			'type' => 135,
			'size' => 6,
			'scale' => 0,
			'typeName' => 'datetime(6)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'CURRENT_TIMESTAMP(6)',
			'defaultValue' => '' 
		),
		array(
			'name' => 'approved_at',
			'type' => 135,
			'size' => 6,
			'scale' => 0,
			'typeName' => 'datetime(6)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		) 
	),
	'primaryKeys' => array( 
		'id' 
	),
	'uniqueFields' => array( 
		 
	),
	'name' => 'bank_reconciliation' 
);
?>