@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Post)) return false;

        Post post = (Post) o;

        if (!author.equals(post.author)) return false;
        if (!postedAt.equals(post.postedAt)) return false;
        if (!title.equals(post.title)) return false;

        return true;
    }