<?php
class Application_Model_Projects extends Zend_Db_Table_Abstract {
	protected $_directory_id;
	
	protected $_project_name;
	
	protected $_description;
	
	protected $_user_id;
	
	protected $_created_at;
	
	protected $_primary = "directory_id";
	
	protected $_name = "projects";
	
	protected $_sequence = false;
	
	protected $_referenceMap = array(
		"directory" => array(
			"columns" => "directory_id"
			, "refTableClass" => "Application_Model_DocumentsDirectories"
			, "refColumns" => "id"
		),
		
		"user" => array(
			"columns" => "user_id"
			, "refTableClass" => "Application_Model_Users"
			, "id"
		)
	);
}