2009-01-12 21:13:18 -08:00
|
|
|
<?php
|
|
|
|
|
class QuoteProduct extends AppModel {
|
|
|
|
|
|
|
|
|
|
var $name = 'QuoteProduct';
|
|
|
|
|
|
2009-09-10 19:50:16 -07:00
|
|
|
/**
|
|
|
|
|
* @var QuoteProduct;
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
var $QuoteProduct;
|
|
|
|
|
|
|
|
|
|
|
2009-01-12 21:13:18 -08:00
|
|
|
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var $belongsTo = array(
|
|
|
|
|
|
|
|
|
|
'Currency' => array('className' => 'Currency',
|
|
|
|
|
'foreignKey' => 'currency_id',
|
|
|
|
|
'conditions' => '',
|
|
|
|
|
'fields' => '',
|
|
|
|
|
'order' => ''
|
|
|
|
|
),
|
|
|
|
|
'Quote' => array('className' => 'Quote',
|
|
|
|
|
'foreignKey' => 'quote_id',
|
|
|
|
|
'conditions' => '',
|
|
|
|
|
'fields' => '',
|
|
|
|
|
'order' => ''
|
|
|
|
|
),
|
|
|
|
|
'Product' => array('className' => 'Product',
|
|
|
|
|
'foreignKey' => 'product_id',
|
|
|
|
|
'conditions' => '',
|
|
|
|
|
'fields' => '',
|
|
|
|
|
'order' => ''
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
?>
|