Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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