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