Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michal Čížek
flea-market-manager
Commits
f62b4137
Commit
f62b4137
authored
May 18, 2022
by
Lucia Lopuchova
Committed by
cizek
May 18, 2022
Browse files
Add start date to StandUserDTO
parent
97687dd1
Changes
2
Show whitespace changes
Inline
Side-by-side
backend/flea-market-manager-controller/src/main/java/cz/fi/muni/pa165/flea/market/manager/controllers/StandController.java
View file @
f62b4137
...
...
@@ -95,7 +95,8 @@ public class StandController {
stand
.
getId
(),
stand
.
getItemCategories
().
stream
().
map
(
ItemCategory:
:
getLabel
).
collect
(
Collectors
.
toSet
()),
stand
.
getStandType
().
getName
(),
stand
.
getEvent
().
getName
()
stand
.
getEvent
().
getName
(),
stand
.
getEvent
().
getStartDate
().
toString
()
))
.
collect
(
Collectors
.
toList
());
}
...
...
backend/flea-market-manager-service/src/main/java/cz/fi/muni/pa165/flea/market/manager/dto/stand/StandUserDTO.java
View file @
f62b4137
package
cz.fi.muni.pa165.flea.market.manager.dto.stand
;
import
cz.fi.muni.pa165.flea.market.manager.dto.standType.StandTypeDTO
;
import
cz.fi.muni.pa165.flea.market.manager.dto.user.UserDTO
;
import
lombok.AllArgsConstructor
;
import
lombok.Getter
;
import
lombok.Setter
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
import
java.util.Set
;
/**
...
...
@@ -29,4 +26,7 @@ public class StandUserDTO {
@NotNull
private
String
eventName
;
@NotNull
private
String
startDate
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment