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