public override bool Equals(object obj) { if (obj == null) { return(false); } UsuarioVO other = (UsuarioVO)obj; if (other == null) { return(false); } if (Ip == null) { if (other.Ip != null) { return(false); } } else if (!Ip.Equals(other.Ip)) { return(false); } if (!Matricula.Equals(other.Matricula)) { return(false); } return(true); }
public UsuarioAutenticadoVO() { this.listaPermissao = new List <PermissaoVO>(); this.Funcionario = new FuncionarioVO(); this.Usuario = new UsuarioVO(); this.listaMenus = new List <MenuVO>(); this.listaAdminMenus = new List <MenuVO>(); limpar(); }