/** * @return \yii\db\ActiveQuery */ public function getSuppliersbrands() { return $this->hasMany(Suppliersbrands::className(), ['SupplierId' => 'SupplierId']); }