<?php
class DocumentAttachment extends AppModel {

	var $name = 'DocumentAttachment';

  var $useTable = 'document_attachments';


	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Document' => array(
			'className' => 'Document',
			'foreignKey' => 'document_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Attachment' => array(
			'className' => 'Attachment',
			'foreignKey' => 'attachment_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>
