mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
(improvement)(chat) Add domain tree for agent and plugin setting (#718)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.response;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.tencent.supersonic.common.pojo.enums.TypeEnums;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ItemResp {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long parentId;
|
||||
|
||||
private String name;
|
||||
|
||||
private TypeEnums type;
|
||||
|
||||
private List<ItemResp> children = Lists.newArrayList();
|
||||
|
||||
public ItemResp(Long id, Long parentId, String name, TypeEnums type) {
|
||||
this.id = id;
|
||||
this.parentId = parentId;
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user