<?php
/**
 * SaleFixture
 *
 */
class SaleFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 11, 'key' => 'primary'),
		'created' => array('type' => 'datetime', 'null' => true),
		'total_amount' => array('type' => 'float', 'null' => true),
		'total_products' => array('type' => 'float', 'null' => true),
		'updated' => array('type' => 'datetime', 'null' => true),
		'customer_id' => array('type' => 'integer', 'null' => true),
		'user_id' => array('type' => 'integer', 'null' => true),
		'vendor_id' => array('type' => 'integer', 'null' => true),
		'payments_method_id' => array('type' => 'integer', 'null' => true),
		'indexes' => array('PRIMARY' => array('unique' => true, 'column' => 'id')),
		'tableParameters' => array()
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'created' => '2014-06-22 13:18:22',
			'total_amount' => 1,
			'total_products' => 1,
			'updated' => '2014-06-22 13:18:22',
			'customer_id' => 1,
			'user_id' => 1,
			'vendor_id' => 1,
			'payments_method_id' => 1
		),
	);
}
