@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (null == obj) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Role eq = (Role)obj;
        if (!super.equals(eq)){
            return false;
        }
        if(!Objects.equals(idRole, eq.idRole)) {
            return false;
        }
        return !(roleName == null ? eq.roleName != null : !roleName.equals(eq.roleName));
    }