42 lines
787 B
PHP
Executable file
42 lines
787 B
PHP
Executable file
<?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(
|
|
|
|
'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' => ''
|
|
)
|
|
);
|
|
|
|
}
|
|
?>
|