mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 04:27:39 +00:00
(improvement)(Chat)Integration of tags into chat. (#798)
This commit is contained in:
@@ -7,6 +7,7 @@ public enum SchemaElementType {
|
||||
VALUE,
|
||||
ENTITY,
|
||||
TAG,
|
||||
TAG_VALUE,
|
||||
ID,
|
||||
DATE
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.response;
|
||||
|
||||
import static com.tencent.supersonic.common.pojo.Constants.DICT_VALUE;
|
||||
import static com.tencent.supersonic.common.pojo.Constants.UNDERLINE;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.enums.StatusEnum;
|
||||
@@ -10,6 +11,7 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class DictItemResp {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long modelId;
|
||||
@@ -31,7 +33,9 @@ public class DictItemResp {
|
||||
private StatusEnum status;
|
||||
|
||||
public String getNature() {
|
||||
return UNDERLINE + modelId + UNDERLINE + itemId + UNDERLINE + type.name().toLowerCase().substring(0, 1);
|
||||
return UNDERLINE + modelId + UNDERLINE + itemId + UNDERLINE + type.name().toLowerCase().substring(0, 1)
|
||||
+ DICT_VALUE;
|
||||
|
||||
}
|
||||
|
||||
public String fetchDictFileName() {
|
||||
|
||||
Reference in New Issue
Block a user