-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKnSettingWebsearchBlacklist.java
More file actions
53 lines (42 loc) · 1.23 KB
/
KnSettingWebsearchBlacklist.java
File metadata and controls
53 lines (42 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.github.aiassistant.entity;
import java.io.Serializable;
// @Data
// @TableName("kn_setting_websearch_blacklist")
public class KnSettingWebsearchBlacklist implements Serializable {
// @TableId(value = "id", type = IdType.NONE)
private String id;
// @ApiModelProperty(value = "黑名单问题", required = true)
private String question;
// @ApiModelProperty(value = "相似度,0~100", required = true)
private Long similarity;
// @ApiModelProperty(value = "排序,从小到大,越容易命中的放前面", required = true)
private Integer sorted;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question;
}
public Long getSimilarity() {
return similarity;
}
public void setSimilarity(Long similarity) {
this.similarity = similarity;
}
public Integer getSorted() {
return sorted;
}
public void setSorted(Integer sorted) {
this.sorted = sorted;
}
@Override
public String toString() {
return id + "#" + question;
}
}