@Override
    public boolean equals(Object o)
    {
        if (this == o)
                return true;
        if (o == null || getClass() != o.getClass())
                return false;

        UserFile that = (UserFile) o;

        if (getPk() != null ? !getPk().equals(that.getPk())
                        : that.getPk() != null)
                return false;

        return true;
    }