/** * @return \yii\db\ActiveQuery */ public function getChildTeeth() { return $this->hasMany(ChildTooth::className(), ['child_id' => 'child_id']); }