Uses of Class
com.mapmyjourney.backend.dto.TripDTO
Packages that use TripDTO
-
Uses of TripDTO in com.mapmyjourney.backend.controller
Methods in com.mapmyjourney.backend.controller that return types with arguments of type TripDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TripDTO> TripController.createTrip(@Valid TripCreateRequestDTO request) 1.TripController.getMyTrips(int page, int size) 3.org.springframework.http.ResponseEntity<TripDTO> TripController.getTripByCode(String tripCode) 4.org.springframework.http.ResponseEntity<TripDTO> TripController.getTripById(Long tripId) 2.org.springframework.http.ResponseEntity<TripDTO> TripController.updateTrip(Long tripId, @Valid TripCreateRequestDTO request) 5. -
Uses of TripDTO in com.mapmyjourney.backend.service
Methods in com.mapmyjourney.backend.service that return TripDTOModifier and TypeMethodDescriptionTripService.createTrip(TripCreateRequestDTO request, Long creatorUserId) Crea un nuevo viaje.TripService.getTripByCode(String tripCode) Obtiene un viaje por su código (para invitaciones).TripService.getTripById(Long tripId) Obtiene un viaje por ID.TripService.updateTrip(Long tripId, TripCreateRequestDTO request, Long userId) Actualiza un viaje existente.Methods in com.mapmyjourney.backend.service that return types with arguments of type TripDTOModifier and TypeMethodDescriptionTripService.getUserTrips(Long userId) Obtiene todos los viajes del usuario.