<?php
class Application_Model_ProjectsLabels extends Zend_Db_Table_Abstract {
	protected $_id;
	
	protected $_directory_id;
	
	protected $_user_id;
	
	protected $_label_name;
	
	protected $_comment;
	
	protected $_created_at;
	
	protected $_name = "projects_labels";
	
	protected $_sequence = true;
	
	protected $_primary = "id";
	
	protected $_referenceMap = array(
		"project" => array(
			"columns" => "directory_id"
			, "refTableClass" => "Application_Model_Projects"
			, "refColumns" => "directory_id"
		),
		
		"user" => array(
			"columns" => "user_id"
			, "refTableClass" => "Application_Model_Users"
			, "refColumns" => "id"
		)
	);
}