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