belongsTo(User::class)->select(['id','name']); } public function order(){ return $this->hasMany(Order::class, 'price_id'); } }