Commit b6244184 by Jan Hrabal

errors

parent c9746623
...@@ -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;
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment