Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

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

/**
 * Use database config
 *
 * @var string
 */
        public $useDbConfig = 'users';

/**
 * Use table
 *
 * @var mixed False or table name
 */
        public $useTable = 'privatedealuser';


        //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' => 'id',
                        'conditions' => '',
                        'fields' => '',
                        'order' => ''
                )
        );
}