<?php
class Application_Model_PlansManagers extends Zend_Db_Table_Abstract {
	protected $_user_id;
	
	protected $_project_id;
	
	protected $_sequence = false;
	
	protected $_primary = array("user_id", "project_id");
	
	protected $_name = "plans_managers";
	
	protected $_referenceMap = array(
		"user" => array(
			"columns" => "user_id"
			, "refTableClass" => "Application_Model_Users"
			, "refColumns" => "id"
		)
		
		, "project" => array(
			"columns" => "project_id"
			, "refTableClass" => "Application_Model_Projects"
			, "refColumns" => "directory_id"
		)
	);
}