belongsTo(Wallet::class, 'wallet_id', 'id'); } /** * @Author FelixYin * @description 退款记录所属交易 */ public function trans() { return $this->belongsTo(WalletTransRecord::class, 'trans_record_id', 'id'); } }