Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
15051 manas 1
<?php
2
App::uses('AppModel', 'Model');
3
/**
4
 * Retailer Model
5
 *
6
 * @property Call $Call
7
 * @property PlayStoreLink $PlayStoreLink
8
 */
9
class Retailer extends AppModel {
10
 
11
/**
12
 * Display field
13
 *
14
 * @var string
15
 */
16
	public $displayField = 'name';
17
 
18
 
19
	//The Associations below have been created with all possible keys, those that are not needed can be removed
20
 
21
/**
22
 * hasMany associations
23
 *
24
 * @var array
25
 */
26
	public $hasMany = array(
27
		'Call' => array(
28
			'className' => 'Call',
29
			'foreignKey' => 'retailer_id',
30
			'dependent' => false,
31
			'conditions' => '',
32
			'fields' => '',
33
			'order' => '',
34
			'limit' => '',
35
			'offset' => '',
36
			'exclusive' => '',
37
			'finderQuery' => '',
38
			'counterQuery' => ''
39
		),
40
		'PlayStoreLink' => array(
41
			'className' => 'PlayStoreLink',
42
			'foreignKey' => 'retailer_id',
43
			'dependent' => false,
44
			'conditions' => '',
45
			'fields' => '',
46
			'order' => '',
47
			'limit' => '',
48
			'offset' => '',
49
			'exclusive' => '',
50
			'finderQuery' => '',
51
			'counterQuery' => ''
52
		)
53
	);
54
 
55
}