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