/** * @return \yii\db\ActiveQuery */ public function getCrossSellings() { return $this->hasMany(CrossSelling::className(), ['discount_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getCrossSellings() { return $this->hasMany(CrossSelling::className(), ['discount_id' => 'id']); }