first commit
This commit is contained in:
22
application/common/model/Message.php
Normal file
22
application/common/model/Message.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// +------------------------------------------------+
|
||||
// |http://www.cjango.com |
|
||||
// +------------------------------------------------+
|
||||
// | 修复BUG不是一朝一夕的事情,等我喝醉了再说吧! |
|
||||
// +------------------------------------------------+
|
||||
// | Author: 小陈叔叔 <Jason.Chen> |
|
||||
// +------------------------------------------------+
|
||||
namespace app\common\model;
|
||||
|
||||
/**
|
||||
*留言
|
||||
*/
|
||||
class Message extends _Init
|
||||
{
|
||||
protected $updateTime = false;
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('MemberInfo', 'from_uid', 'uid');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user