diff --git a/src/com/rjconsultores/ventaboletos/entidad/Usuario.java b/src/com/rjconsultores/ventaboletos/entidad/Usuario.java index 54a794134..cc41b83e6 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Usuario.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Usuario.java @@ -77,6 +77,11 @@ public class Usuario implements Serializable, Authentication, UserDetails { @OneToMany(mappedBy = "usuarioLog", cascade = CascadeType.ALL,fetch=FetchType.EAGER) @Fetch(FetchMode.SELECT) private List usuarioEmpresaList; + + @OneToMany(mappedBy = "usuario", cascade = CascadeType.ALL, fetch=FetchType.EAGER) + @Fetch(FetchMode.SELECT) + private List usuarioUbicacionList; + public String getClaveUsuario() { return claveUsuario; @@ -303,4 +308,14 @@ public class Usuario implements Serializable, Authentication, UserDetails { public void setIndCorteAutomatico(Boolean indCorteAutomatico) { this.indCorteAutomatico = indCorteAutomatico; } + + public List getUsuarioUbicacionList() { + return usuarioUbicacionList; + } + + public void setUsuarioUbicacionList(List usuarioUbicacionList) { + this.usuarioUbicacionList = usuarioUbicacionList; + } + + }