Subversion Repositories SmartDukaan

Rev

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

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


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

/**
 * belongsTo associations
 *
 * @var array
 */
        public $belongsTo = array(
                'User' => array(
                        'className' => 'User',
                        'foreignKey' => 'user_id',
                        'conditions' => '',
                        'fields' => '',
                        'order' => ''
                ),
                'StoreProduct' => array(
                        'className' => 'StoreProduct',
                        'foreignKey' => 'store_product_id',
                        'conditions' => '',
                        'fields' => '',
                        'order' => ''
                )
        );
}