package org.exoplatform.faq.service.search;

import org.exoplatform.commons.api.search.data.SearchResult;


public class UnifiedSearchResult extends SearchResult {

  private Double rating = 0.0;
  
  private String content;

  private String type;

  public UnifiedSearchResult(String url,
                             String title,
                             String excerpt,
                             String detail,
                             String imageUrl,
                             long date,
                             long relevancy,
                             Double rating) {
    super(url, title, excerpt, detail, imageUrl, date, relevancy);
    this.rating = rating;
  }

  public Double getRating() {
    return rating;
  }

  public void setRating(Double rating) {
    this.rating = rating;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

}
