/** * @return \yii\db\ActiveQuery */ public function getUser() { return $this->hasOne(User::className(), ['id' => 'userid']); }
/** * @return \yii\db\ActiveQuery */ public function getMy() { return $this->hasOne(User::className(), ['id' => 'myid']); }
/** * @return \yii\db\ActiveQuery */ public function getTo0() { return $this->hasOne(User::className(), ['id' => 'to']); }