This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
java-bookstore
mirror of
https://github.com/Fincer/java-bookstore
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
4
Wiki
Activity
Browse Source
User: add more constraints
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius
4 years ago
parent
b78af35a58
commit
2790128d83
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
bookstore/src/main/java/com/fjordtek/bookstore/model/auth/User.java
+ 1
- 0
bookstore/src/main/java/com/fjordtek/bookstore/model/auth/User.java
View File
@ -83,6 +83,7 @@ public class User {
nullable
=
false
,
nullable
=
false
,
columnDefinition
=
"NVARCHAR("
+
strMax
+
")"
columnDefinition
=
"NVARCHAR("
+
strMax
+
")"
)
)
@NotBlank
private
String
email
;
private
String
email
;
@OneToMany
(
@OneToMany
(
Write
Preview
Loading…
Cancel
Save