BestbaoEngineer.php 473 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2017 https://www.sapixx.com All rights reserved.
  4. * @license Licensed (http://www.apache.org/licenses/LICENSE-2.0).
  5. * @author pillar<ltmn@qq.com>
  6. * 工程师
  7. */
  8. namespace app\bestbao\model;
  9. use think\Model;
  10. class BestbaoEngineer extends Model{
  11. /**
  12. * 工程师信息
  13. *
  14. * @return void
  15. */
  16. public function user(){
  17. return $this->hasOne('app\common\model\SystemUser','id','uid');
  18. }
  19. }