<?php /** * @copyright Copyright (c) 2017 https://www.sapixx.com All rights reserved. * @license Licensed (http://www.apache.org/licenses/LICENSE-2.0). * @author pillar<ltmn@qq.com> * 工程师 */ namespace app\bestbao\model; use think\Model; class BestbaoEngineer extends Model{ /** * 工程师信息 * * @return void */ public function user(){ return $this->hasOne('app\common\model\SystemUser','id','uid'); } }