Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Samuel Dudík
PA165 Winery Management System
Commits
7079a779
Commit
7079a779
authored
May 18, 2022
by
xkorenk
Browse files
another fix
parent
19889b8b
Pipeline
#141185
passed with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
winery/webapp/src/main/java/cz/muni/fi/pa165/winery/webapp/models/wineBottle/WineBottleUpsertViewModel.java
View file @
7079a779
...
...
@@ -49,14 +49,14 @@ public class WineBottleUpsertViewModel extends ViewModelBase {
* volume of bottle
*/
@NotNull
(
message
=
"Cannot be empty"
)
@Positive
OrZero
(
message
=
"Has to be a
non-nega
tive number"
)
@Positive
(
message
=
"Has to be a
posi
tive number"
)
private
BigDecimal
volume
;
/**
* price of bottle
*/
@NotNull
(
message
=
"Cannot be empty"
)
@Positive
OrZero
(
message
=
"Has to be a
non-nega
tive number"
)
@Positive
(
message
=
"Has to be a
posi
tive number"
)
private
BigDecimal
price
;
/**
...
...
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