<?php
App::uses('AppModel', 'Model');
/**
 * AppNews Model
 *
 * @property User $User
 */
class AppNews extends AppModel {
	
/**
 * Order by
 */	
	var $order = 'AppNews.created DESC';
	
/**
 * Display field
 *
 * @var string
 */
	public $displayField = 'app';	

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
