/** * @return \yii\db\ActiveQuery */ public function getShopPriceType() { return $this->hasOne(ShopPriceTypes::className(), ['id' => 'shop_price_types_id']); }
/** * @return \yii\db\ActiveQuery */ public function getShopPriceType() { return $this->hasOne(ShopPriceTypes::className(), ['id' => 'shop_price_types_id']); }