
bean.Keyword Maven / Gradle / Ivy
The newest version!
package bean;
import net.sf.json.JSONObject;
/**
*unclewang
* 2018/4/26 13:42
*/
public class Keyword {
private String keyword;
private Integer num;
public Keyword() {
}
public Keyword(String keyword, Integer num) {
this.keyword = keyword;
this.num = num;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
public Integer getNum() {
return num;
}
public void setNum(Integer num) {
this.num = num;
}
public JSONObject tojson() {
JSONObject jsonObject = JSONObject.fromObject(this);
return jsonObject;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy