hasOne(Member::class, 'member_id', 'join_return_member_id'); } public function info(){ return $this->hasOne(MemberInfo::class,'join_info_member_id','join_return_member_id'); } public function cert() { return $this->hasOne(MemberCert::class, 'join_cert_member_id', 'join_return_member_id'); } public function order() { return $this->hasOne(Order::class, 'order_id', 'join_return_order_id'); } }