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