<?php
global $runnerDbTableInfo;
$runnerDbTableInfo['customer_payment_application'] = 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' => 'payment_application_uuid',
			'type' => 200,
			'size' => 36,
			'scale' => 0,
			'typeName' => 'char(36)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'customer_payment_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'sales_id',
			'type' => 20,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'bigint',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'applied_amount',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'discount_taken_amount',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'withholding_applied_amount',
			'type' => 14,
			'size' => 19,
			'scale' => 4,
			'typeName' => 'decimal(19,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'applied_at',
			'type' => 135,
			'size' => 6,
			'scale' => 0,
			'typeName' => 'datetime(6)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'CURRENT_TIMESTAMP(6)',
			'defaultValue' => '' 
		) 
	),
	'primaryKeys' => array( 
		'id' 
	),
	'uniqueFields' => array( 
		 
	),
	'name' => 'customer_payment_application' 
);
?>