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