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