<?php
class DocPage extends AppModel {

	var $name = 'DocPage';

	//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' => '',
			'counterCache' => 'doc_page_count'
		)
	);

        var $order = 'page_number ASC';
}
?>