Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12345 anikendra 1
<?php
2
App::uses('AppModel', 'Model');
3
/**
4
 * Privatedealuser Model
5
 *
6
 * @property User $User
7
 */
8
class Privatedealuser extends AppModel {
9
 
10
/**
11
 * Use database config
12
 *
13
 * @var string
14
 */
15
	public $useDbConfig = 'users';
16
 
17
/**
18
 * Use table
19
 *
20
 * @var mixed False or table name
21
 */
22
	public $useTable = 'privatedealuser';
23
 
24
 
25
	//The Associations below have been created with all possible keys, those that are not needed can be removed
26
 
27
/**
28
 * belongsTo associations
29
 *
30
 * @var array
31
 */
32
	public $belongsTo = array(
33
		'User' => array(
34
			'className' => 'User',
35
			'foreignKey' => 'id',
36
			'conditions' => '',
37
			'fields' => '',
38
			'order' => ''
39
		)
40
	);
41
}