/** * @return \yii\db\ActiveQuery */ public function getChield() { return $this->hasMany(FormsChield::className(), ['form_id' => 'id']); }