Commit 6a278d16 by Jan Hrabal

small changes

parent 602ea7c5
...@@ -20,6 +20,7 @@ import javax.persistence.Transient; ...@@ -20,6 +20,7 @@ import javax.persistence.Transient;
import javax.persistence.Version; import javax.persistence.Version;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.jh.boot.jpa.AbstractIdEntity; import com.jh.boot.jpa.AbstractIdEntity;
...@@ -95,6 +96,7 @@ public class AppUser extends AbstractIdEntity { ...@@ -95,6 +96,7 @@ public class AppUser extends AbstractIdEntity {
private Date passwordChanged; private Date passwordChanged;
@Transient @Transient
@JsonProperty("roles")
private Map<String, AppRole> rolesMap; private Map<String, AppRole> rolesMap;
......
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