<?php
class Application_Model_DbTable_Table1hastable2 extends Zend_Db_Table_Abstract
{
protected $_name = 'table1hastable2';
protected $_primary = array('table1_id_table1' ,'table2_id_table2');

protected $_referenceMap = array(
			'Application_Model_DbTable_Table1'=>array(
						'columns'=>'table1_id_table1',
						'refTableClass'=>'Application_Model_DbTable_Table1',
						'refColumns'=>'id_table1'
						),
			'Application_Model_DbTable_Table2'=>array(
						'columns'=>'table2_id_table2',
						'refTableClass'=>'Application_Model_DbTable_Table2',
						'refColumns'=>'id_table2'
						),
			);
}
