Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<?php
App::uses('AppModel', 'Model');
/**
 * Appmaster Model
 *
 * @property AppOffer $AppOffer
 */
class Appmaster extends AppModel {

/**
 * Display field
 *
 * @var string
 */
        public $displayField = 'app_name';


        //The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * hasMany associations
 *
 * @var array
 */
        public $hasMany = array(
                'AppOffer' => array(
                        'className' => 'AppOffer',
                        'foreignKey' => 'appmaster_id',
                        'dependent' => false,
                        'conditions' => '',
                        'fields' => '',
                        'order' => '',
                        'limit' => '',
                        'offset' => '',
                        'exclusive' => '',
                        'finderQuery' => '',
                        'counterQuery' => ''
                )
        );

}