hasOne(User::class, 'operate_uid', 'uid'); } public function user() { return $this->hasOne(User::class, 'uid', 'uid'); } }