Package web.sportflow.workout
Class WorkoutDto
java.lang.Object
web.sportflow.workout.WorkoutDto
-
Constructor Summary
ConstructorsConstructorDescriptionWorkoutDto(Long id, String name, String description, Sport sport, LocalDateTime date, Double rating, Double duration, Double distance, String address, WeatherStatsDTO weather) -
Method Summary
Modifier and TypeMethodDescriptiongetDate()getId()getName()getSport()voidsetAddress(String address) voidsetDate(LocalDateTime date) voidsetDescription(String description) voidsetDistance(Double distance) voidsetDuration(Double duration) voidvoidvoidvoidvoidsetWeather(WeatherStatsDTO weather)
-
Constructor Details
-
WorkoutDto
public WorkoutDto() -
WorkoutDto
public WorkoutDto(Long id, String name, String description, Sport sport, LocalDateTime date, Double rating, Double duration, Double distance, String address, WeatherStatsDTO weather)
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getDescription
-
setDescription
-
getSport
-
setSport
-
getDate
-
setDate
-
getRating
-
setRating
-
getDuration
-
setDuration
-
getDistance
-
setDistance
-
getAddress
-
setAddress
-
getWeather
-
setWeather
-