Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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

/**
 * Display field
 *
 * @var string
 */
        public $displayField = '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(
                'Call' => array(
                        'className' => 'Call',
                        'foreignKey' => 'retailer_id',
                        'dependent' => false,
                        'conditions' => '',
                        'fields' => '',
                        'order' => '',
                        'limit' => '',
                        'offset' => '',
                        'exclusive' => '',
                        'finderQuery' => '',
                        'counterQuery' => ''
                ),
                'PlayStoreLink' => array(
                        'className' => 'PlayStoreLink',
                        'foreignKey' => 'retailer_id',
                        'dependent' => false,
                        'conditions' => '',
                        'fields' => '',
                        'order' => '',
                        'limit' => '',
                        'offset' => '',
                        'exclusive' => '',
                        'finderQuery' => '',
                        'counterQuery' => ''
                )
        );

}