belongsTo(ServiceRole::class,'role_id','id'); } public function order(){ return $this->hasOne(ServiceRole::class,'id','m_order_id'); } }