belongsToMany(Card::class, 'real_order_base_card_relations', 'order_id', 'sim'); } public function renewalCards() { return $this->belongsToMany(Card::class, 'real_order_renewal_card_relations', 'order_id', 'sim'); } public function flowCards() { return $this->belongsToMany(Card::class, 'real_order_flows_card_relations', 'order_id', 'sim'); } public function optionalCards() { return $this->belongsToMany(Card::class, 'real_order_optional_card_relations', 'order_id', 'sim'); } public function additionalCards() { return $this->belongsToMany(Card::class, 'real_order_additional_card_relations', 'order_id', 'sim'); } }