Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jh-boot
Project
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
Jan Hrabal
jh-boot
Commits
b6244184
Commit
b6244184
authored
Oct 03, 2019
by
Jan Hrabal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errors
parent
c9746623
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
AppUser.java
src/main/java/com/jh/boot/security/model/AppUser.java
+3
-0
ErrorMessage.java
src/main/java/com/jh/boot/web/error/ErrorMessage.java
+2
-0
No files found.
src/main/java/com/jh/boot/security/model/AppUser.java
View file @
b6244184
...
@@ -12,6 +12,8 @@ import java.util.stream.Collectors;
...
@@ -12,6 +12,8 @@ import java.util.stream.Collectors;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Inheritance
;
import
javax.persistence.InheritanceType
;
import
javax.persistence.JoinColumn
;
import
javax.persistence.JoinColumn
;
import
javax.persistence.JoinTable
;
import
javax.persistence.JoinTable
;
import
javax.persistence.ManyToMany
;
import
javax.persistence.ManyToMany
;
...
@@ -31,6 +33,7 @@ import com.jh.boot.jpa.AbstractIdEntity;
...
@@ -31,6 +33,7 @@ import com.jh.boot.jpa.AbstractIdEntity;
*/
*/
@Entity
@Entity
@Table
(
name
=
"APP_USER"
)
@Table
(
name
=
"APP_USER"
)
@Inheritance
(
strategy
=
InheritanceType
.
JOINED
)
public
class
AppUser
extends
AbstractIdEntity
{
public
class
AppUser
extends
AbstractIdEntity
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/java/com/jh/boot/web/error/ErrorMessage.java
View file @
b6244184
...
@@ -7,6 +7,8 @@ import com.fasterxml.jackson.annotation.JsonProperty;
...
@@ -7,6 +7,8 @@ import com.fasterxml.jackson.annotation.JsonProperty;
*/
*/
public
class
ErrorMessage
{
public
class
ErrorMessage
{
public
static
final
String
CODE_VALUE_REQUIRED
=
"VALUE_REQUIRED"
;
/** The field. */
/** The field. */
private
String
field
;
private
String
field
;
...
...
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