mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
[improvement][chat] In the search interface, modelId and modelName are changed to dataSetId and dataSetName (#1855)
This commit is contained in:
@@ -18,9 +18,9 @@ public class SearchResult {
|
||||
|
||||
private String subRecommend;
|
||||
|
||||
private String modelName;
|
||||
private Long dataSetId;
|
||||
|
||||
private Long modelId;
|
||||
private String dataSetName;
|
||||
|
||||
private SchemaElementType schemaElementType;
|
||||
|
||||
@@ -36,11 +36,11 @@ public class SearchResult {
|
||||
}
|
||||
SearchResult searchResult1 = (SearchResult) o;
|
||||
return Objects.equals(recommend, searchResult1.recommend)
|
||||
&& Objects.equals(modelName, searchResult1.modelName);
|
||||
&& Objects.equals(dataSetName, searchResult1.dataSetName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(recommend, modelName);
|
||||
return Objects.hash(recommend, dataSetName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user