/** * @return \yii\db\ActiveQuery */ public function getFormizins() { return $this->hasMany(Formizin::className(), ['personel_id' => 'ID']); }