1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- namespace Cas\Dao;
- use KIF\Dao\DBAgileDev;
- use KIF\Core\Request;
- /**
- *
- * cas活动平台 用户表
- *
- * @author lihuanchun@qq.com
- *
- */
- class UserInfo extends DBAgileDev {
- protected $tableName = 'user_info';
-
- /**
- * 数据库里的真实字段
- * @var array
- */
- protected $other_field = array(
- 'passport_uid',
- 'groupid',
- 'is_new',
- 'nickname',
- 'localRemark'
- );
-
- /**
- * NEW_USER 新用户
- * @var int
- */
- const NEW_USER = 0;
- /**
- * OLD_USER 老用户
- * @var int
- */
- const OLD_USER = 1;
-
-
- public static $userStatus= array(
- self::NEW_USER => array(
- 'desc' => '新用户',
- 'kw' => 'NEW_USER',
- ),
- self::OLD_USER => array(
- 'desc' => '老用户',
- 'kw' => 'OLD_USER',
- ),
- );
-
- /**
- * 用户状态
- * @return array
- */
- public static function getUserStatus() {
- return self::$userStatus;
- }
-
-
- }
|