@Override
    public int hashCode() {
        int hash = 3;
        hash = 53 * hash + (this.id != null ? this.id.hashCode() : 0);
        hash = 53 * hash + (this.fromUser != null ? this.fromUser.hashCode() : 0);
        hash = 53 * hash + (this.toUser != null ? this.toUser.hashCode() : 0);
        hash = 53 * hash + (this.sendingDate != null ? this.sendingDate.hashCode() : 0);
        hash = 53 * hash + (this.content != null ? this.content.hashCode() : 0);
        return hash;
    }