sk.iway.iwcm.stat.jpa.SearchEnginesDTO Maven / Gradle / Ivy
package sk.iway.iwcm.stat.jpa;
import java.util.Date;
import sk.iway.iwcm.system.datatable.DataTableColumnType;
import sk.iway.iwcm.system.datatable.annotations.DataTableColumn;
public class SearchEnginesDTO {
public SearchEnginesDTO() {
}
public SearchEnginesDTO(String serverName, Integer accesCount) {
this.serverName = serverName;
this.accesCount = accesCount;
}
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "stat_searchengines.order", visible = true)
private Integer order;
//Hidden, used just for filter and for chart
@DataTableColumn(inputType = DataTableColumnType.DATE, title = "editor.date", visible = false)
private Date dayDate;
@DataTableColumn(inputType = DataTableColumnType.TEXT, title = "stat_searchengines.query_name", renderFormatLinkTemplate = "javascript:getSearchEnginesDetails({{order}});")
private String queryName;
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "stat_searchengines.query_count")
private Integer queryCount;
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "%", renderFormat = "dt-format-number--decimal")
private Double percentage;
@DataTableColumn(inputType = DataTableColumnType.TEXT, title = "stat_searchengines.server_name")
private String serverName;
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "stat_searchengines.access_count")
private Integer accesCount;
public Integer getOrder() {
return this.order;
}
public Date getDayDate() {
return this.dayDate;
}
public String getQueryName() {
return this.queryName;
}
public Integer getQueryCount() {
return this.queryCount;
}
public Double getPercentage() {
return this.percentage;
}
public String getServerName() {
return this.serverName;
}
public Integer getAccesCount() {
return this.accesCount;
}
public void setOrder(final Integer order) {
this.order = order;
}
public void setDayDate(final Date dayDate) {
this.dayDate = dayDate;
}
public void setQueryName(final String queryName) {
this.queryName = queryName;
}
public void setQueryCount(final Integer queryCount) {
this.queryCount = queryCount;
}
public void setPercentage(final Double percentage) {
this.percentage = percentage;
}
public void setServerName(final String serverName) {
this.serverName = serverName;
}
public void setAccesCount(final Integer accesCount) {
this.accesCount = accesCount;
}
}