<?php
class ShipmentInvoice extends AppModel {

	var $name = 'ShipmentInvoice';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Shipment' => array(
			'className' => 'Shipment',
			'foreignKey' => 'shipment_id',
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'counterCache' => 'shipment_invoice_count',
		),
		'Principle' => array(
			'className' => 'Principle',
			'foreignKey' => 'principle_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Currency' => array(
			'className' => 'Currency',
			'foreignKey' => 'currency_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'FreightForwarder' => array(
			'className' => 'FreightForwarder',
			'foreignKey' => 'freight_forwarder_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>