mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
(improvement)(dict) support queryDictValue (#1196)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.request;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.PageBaseReq;
|
||||
import com.tencent.supersonic.common.pojo.enums.TypeEnums;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class DictValueReq extends PageBaseReq {
|
||||
private Long modelId;
|
||||
|
||||
private Long itemId;
|
||||
|
||||
private TypeEnums type = TypeEnums.DIMENSION;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.response;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
/**
|
||||
* @author: kanedai
|
||||
* @date: 2024/6/22
|
||||
*/
|
||||
@ToString
|
||||
@Data
|
||||
public class DictValueResp {
|
||||
private String value;
|
||||
|
||||
private String nature;
|
||||
|
||||
private Long frequency;
|
||||
}
|
||||
Reference in New Issue
Block a user