StragetyIntervalInfo.java
932 Bytes
package com.yoho.search.models.recall;
import com.yoho.search.dal.model.CsRecallConfigCommon;
public class StragetyIntervalInfo {
private String stragetyName;
private Integer pageId;
private Integer interval;
private Integer insertOrder;
public StragetyIntervalInfo(CsRecallConfigCommon common) {
this.stragetyName = common.getConfigType();
this.pageId = common.getConfigPage();
this.interval = common.getInterval();
this.insertOrder = common.getInsertOrder();
}
public String getStragetyName() {
return stragetyName == null ? "" : stragetyName;
}
public Integer getPageId() {
return pageId == null ? 0 : pageId;
}
public Integer getInterval() {
return interval == null ? 1 : interval;
}
public Integer getInsertOrder() {
return insertOrder == null ? 1 : insertOrder;
}
}