first commit
This commit is contained in:
51
ZeedFramework/library/Com/Entity/Mapping.php
Normal file
51
ZeedFramework/library/Com/Entity/Mapping.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
* iNewS Project
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* http://www.inews.com.cn/license/inews
|
||||
*
|
||||
* @category iNewS
|
||||
* @package ChangeMe
|
||||
* @subpackage ChangeMe
|
||||
* @copyright Copyright (c) 2008 Zeed Technologies PRC Inc. (http://www.inews.com.cn)
|
||||
* @author xSharp ( GTalk: xSharp@gmail.com )
|
||||
* @since Apr 8, 2010
|
||||
* @version SVN: $Id: User.php 5474 2010-06-29 07:21:25Z nroe $
|
||||
*/
|
||||
|
||||
class Com_Entity_User extends Zeed_Object_Ext
|
||||
{
|
||||
public $uuid;
|
||||
public $userid;
|
||||
public $username;
|
||||
public $password;
|
||||
public $salt;
|
||||
public $encrypt;
|
||||
public $domainid;
|
||||
public $email;
|
||||
public $nickname;
|
||||
public $gender;
|
||||
public $ctime;
|
||||
public $status;
|
||||
|
||||
/**
|
||||
* 定义 EXT 扩展属性字段
|
||||
*
|
||||
* @todo 暂时不使用
|
||||
*/
|
||||
private $_properties = array(
|
||||
);
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->setAllowedProperties($this->_properties);
|
||||
|
||||
$this->setExtTable('userext');
|
||||
$this->setExtProcessHandle('Com_Model_User', 'saveExt');
|
||||
}
|
||||
}
|
||||
|
||||
// End ^ LF ^ encoding
|
||||
Reference in New Issue
Block a user