Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14518 anikendra 1
<?php
2
App::uses('AppModel', 'Model');
3
/**
4
 * Device Model
5
 *
6
 * @property User $User
7
 */
8
class Device extends AppModel {
9
 
10
 
11
	//The Associations below have been created with all possible keys, those that are not needed can be removed
12
 
13
/**
14
 * belongsTo associations
15
 *
16
 * @var array
17
 */
18
	public $belongsTo = array(
19
		'User' => array(
20
			'className' => 'User',
21
			'foreignKey' => 'user_id',
22
			'conditions' => '',
23
			'fields' => '',
24
			'order' => ''
25
		)
26
	);
27
}