27 lines
588 B
PHP
27 lines
588 B
PHP
<?php
|
|
class FreightService extends AppModel {
|
|
|
|
var $name = 'FreightService';
|
|
var $validate = array(
|
|
'name' => array('notempty')
|
|
);
|
|
|
|
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
|
var $belongsTo = array(
|
|
'FreightForwarder' => array(
|
|
'className' => 'FreightForwarder',
|
|
'foreignKey' => 'freight_forwarder_id',
|
|
'dependent' => false,
|
|
'conditions' => '',
|
|
'fields' => '',
|
|
'order' => '',
|
|
'limit' => '',
|
|
'offset' => '',
|
|
'exclusive' => '',
|
|
'finderQuery' => '',
|
|
'counterQuery' => ''
|
|
)
|
|
);
|
|
|
|
}
|
|
?>
|