Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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();
        }