@Override
    public boolean equals(Object o)
    {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
 
        UserFileId that = (UserFileId) o;
 
        if (user != null ? !user.equals(that.user) : that.user != null) return false;
        if (file != null ? !file.equals(that.file) : that.file != null)
            return false;
 
        return true;
    }