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