<?php
class QuoteProduct extends AppModel {

	var $name = 'QuoteProduct';

	/**
	 * @var QuoteProduct;
	 * 
	 */
	
	var $QuoteProduct;

        

	
	//The Associations below have been created with all possible keys, those that are not needed can be removed
	
	
	
	var $belongsTo = array(
			'Quote' => array('className' => 'Quote',
								'foreignKey' => 'quote_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Product' => array('className' => 'Product',
								'foreignKey' => 'product_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),

	);
	
	
	var $hasOne = array(
			'Costing' => array('className' => 'Costing',
								'foreignKey' => 'quote_product_id')
		);
        
         


        var $order = "item_number ASC";

}
?>