package org.exoplatform.forum.service.search;

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


public class UnifiedSearchResult extends SearchResult {

  private String appName = "AppForumPortlet";

  private Double rating = 0.0;

  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 getAppName() {
    return appName;
  }

  public void setAppName(String appName) {
    this.appName = appName;
  }

}
