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