Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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