From c9e578f47d25f19ba472977545a994cf9445386d Mon Sep 17 00:00:00 2001 From: vinicius Date: Thu, 6 Feb 2014 20:12:43 +0000 Subject: [PATCH] =?UTF-8?q?Resumo=090004878:=20Tela=20de=20Busca=20de=20Us?= =?UTF-8?q?uario=20-=20Adicionar=20novos=20filtros=20Descri=C3=A7=C3=A3o?= =?UTF-8?q?=09Adicionar=20os=20filtros=20de=20Empresa=20e=20Ag=C3=AAncia?= =?UTF-8?q?=20nos=20cadastro=20de=20usu=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@33488 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/entidad/Usuario.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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; + } + + }