api/app/model/UserDetail.php
2019-06-20 12:58:23 +08:00

22 lines
348 B
PHP

<?php
/**
* Created by PhpStorm.
* User: yancheng<cheng@love.xiaoyan.me>
* Date: 2019/6/18
* Time: 7:23 PM
*/
namespace app\model;
use app\BaseModel;
class UserDetail extends BaseModel
{
protected $table = 'user_detail';
public function evaluations()
{
return $this->hasMany('EvaluationHistory', 'uid', 'uid');
}
}