Authored by Gino Zhang

Canal处理时model的字段不能从父类继承

... ... @@ -3,7 +3,19 @@ package com.yoho.search.dal.model;
/**
* Created by ginozhang on 2016/12/6.
*/
public class SuggestWordDef extends SuggestWordBase{
public class SuggestWordDef{
private Integer id;
private String keyword;
private Integer count;
private Integer countForBlk;
private Integer countForApp;
private Integer status;
private Integer weight;
... ... @@ -13,10 +25,58 @@ public class SuggestWordDef extends SuggestWordBase{
}
public SuggestWordDef(String keyword, Integer type) {
this.setKeyword(keyword);
this.keyword = keyword;
this.type = type;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public Integer getCountForBlk() {
return countForBlk;
}
public void setCountForBlk(Integer countForBlk) {
this.countForBlk = countForBlk;
}
public Integer getCountForApp() {
return countForApp;
}
public void setCountForApp(Integer countForApp) {
this.countForApp = countForApp;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getWeight() {
return weight;
}
... ...