@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final User other = (User) obj;
        if (!Objects.equals(this.userIn, other.userIn)) {
            return false;
        }
        if (!Objects.equals(this.user, other.user)) {
            return false;
        }
        if (this.enabled != other.enabled) {
            return false;
        }
        if (!Objects.equals(this.errMsg, other.errMsg)) {
            return false;
        }
        if (this.intErr != other.intErr) {
            return false;
        }
        if (this.intExit != other.intExit) {
            return false;
        }
        if (!Objects.equals(this.retVal, other.retVal)) {
            return false;
        }
        return true;
    }