32 lines
337 B
PHP
32 lines
337 B
PHP
|
<?php
|
||
|
App::uses('AppModel', 'Model');
|
||
|
|
||
|
/**
|
||
|
* User Model
|
||
|
*
|
||
|
*/
|
||
|
class User extends AppModel {
|
||
|
|
||
|
/**
|
||
|
* Use table
|
||
|
*
|
||
|
* @var mixed False or table name
|
||
|
*/
|
||
|
public $useTable = 'Users';
|
||
|
|
||
|
/**
|
||
|
* Primary key field
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $primaryKey = 'Id';
|
||
|
|
||
|
/**
|
||
|
* Display field
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $displayField = 'Name';
|
||
|
|
||
|
}
|