[xzgl]用户档案

This commit is contained in:
2025-06-24 11:46:26 +08:00
parent f74e92e0a6
commit ea1f6d1edb
7 changed files with 323 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace app\xzgl\model;
use jerryyan\staff\model\StaffUser;
use think\admin\Model;
use think\model\relation\HasOne;
class XzglProfile extends Model
{
public function user(): HasOne
{
return $this->hasOne(StaffUser::class, 'id', 'id')->with(['dept', 'sys_user']);
}
}