@Override
    public int hashCode() {
        int prime = 41;
        int prime1 = 31;
        int prime2 = 43;
        int prime3 = 59;
        int tIId = imageId;
        if (tIId == 0) {
            tIId = prime;
        }
        int tPath;
        if (path == null) {
            tPath = prime1;
        }
        else {
            tPath = path.length();
        }
        int tTitle;
        if (title == null) {
            tTitle = prime2;
        }
        else {
            tTitle = title.length();
        }
        int tPId = projectId;
        if (tPId == 0) {
            tPId = prime3;
        }
        int tCu = currentUser;
        if (tCu == 0) {
            tCu = prime1 * prime3;
        }
        
        int hash = tIId + tPath + tTitle + tPId + tCu;
        
        return hash;
    }