Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16591 anikendra 1
<?php
2
App::uses('AppModel', 'Model');
3
/**
4
 * AppOffer Model
5
 *
6
 * @property AppAffiliate $AppAffiliate
7
 */
8
class AppOffer 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
 * belongsTo associations
22
 *
23
 * @var array
24
 */
25
	public $belongsTo = array(
26
		'AppAffiliate' => array(
27
			'className' => 'AppAffiliate',
28
			'foreignKey' => 'affiliate_id',
29
			'conditions' => '',
30
			'fields' => '',
31
			'order' => ''
32
		)
33
	);
34
}