6
0
Fork 0
release
李静 2022-01-15 17:39:07 +08:00
parent bbe5f2bef9
commit 3ca9b852d0
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@ class Dealer extends Model
'pay_info',
];
/**
* 属于此经销商的用户信息
*/
public function userInfo()
{
return $this->hasOne(UserInfo::class, 'user_id', 'user_id');
}
/**
* 属于此经销商的管理者津贴
*/