<?php
class Costing extends AppModel {

    var $name = 'Costing';



    //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' => ''
	    ),

	    'LineItem' => array('className'=>'LineItem','foreignKey' => 'line_item_id'
	    ),
	    'PurchaseCurrency' => array('className' => 'Currency', 'foreignKey' => 'purchase_currency_id', 'order'=>'PurchaseCurrency.name ASC'),
	    'SaleCurrency' => array('className' => 'Currency', 'foreignKey' => 'sale_currency_id', 'order'=>'SaleCurrency.name ASC')
	    


    );

}
?>
