<?php
class LineItem extends AppModel {

    var $name = 'LineItem';

    /**
     * @var QuoteProduct;
     *
     */

    var $LineItem;


    var $order = "LineItem.item_number ASC";

    

    //The Associations below have been created with all possible keys, those that are not needed can be removed



    var $belongsTo = array(
	    'Product' => array('className' => 'Product',
			    'foreignKey' => 'product_id',
			    'conditions' => '',
			    'fields' => '',
			    'order' => ''
	    ),

	    'Document' => array('className'=> 'Document',
			    'foreignKey' => 'document_id',

	    )
    );


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




}
?>