Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
java_weekendowa_20221008
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
java_weekendowa_20221008
Commits
e26d672b
Commit
e26d672b
authored
Nov 27, 2022
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drobnostki
parent
42a90ba7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
ProductController.java
...ing/src/main/java/sklep/controller/ProductController.java
+0
-1
Product.java
PC30-SklepSpring/src/main/java/sklep/model/Product.java
+1
-1
No files found.
PC30-SklepSpring/src/main/java/sklep/controller/ProductController.java
View file @
e26d672b
...
@@ -4,7 +4,6 @@ import java.math.BigDecimal;
...
@@ -4,7 +4,6 @@ import java.math.BigDecimal;
import
java.util.List
;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.Optional
;
import
javax.servlet.http.HttpSession
;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
PC30-SklepSpring/src/main/java/sklep/model/Product.java
View file @
e26d672b
...
@@ -31,7 +31,7 @@ public class Product implements Serializable {
...
@@ -31,7 +31,7 @@ public class Product implements Serializable {
@Column
(
name
=
"product_name"
)
@Column
(
name
=
"product_name"
)
@NotNull
@NotNull
@Size
(
min
=
3
,
max
=
1
0
)
@Size
(
min
=
2
,
max
=
5
0
)
private
String
productName
;
private
String
productName
;
@Min
(
0
)
@Min
(
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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