<?php
App::uses('AppModel', 'Model');
/**
 * Attach Model
 *
 * @property Task $Task
 * @property TasksHistory $TasksHistory
 */
class Attach extends AppModel {
/**
 * Use table
 *
 * @var mixed False or table name
 */
	public $useTable = 'attachs';

	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'Task' => array(
			'className' => 'Task',
			'foreignKey' => 'task_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'TasksHistory' => array(
			'className' => 'TasksHistory',
			'foreignKey' => 'tasks_history_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
