|
|
@@ -6,6 +6,7 @@ import lombok.Data;
|
|
|
import org.springframework.stereotype.Indexed;
|
|
|
|
|
|
import java.util.Dictionary;
|
|
|
+import java.util.List;
|
|
|
|
|
|
@Data
|
|
|
public class DictionaryItemModel {
|
|
|
@@ -32,6 +33,9 @@ public class DictionaryItemModel {
|
|
|
@Schema(description = "项名称")
|
|
|
private String name;
|
|
|
|
|
|
+ @Schema(name = "description", description = "描述", example = "班级")
|
|
|
+ private String description;
|
|
|
+
|
|
|
//类型
|
|
|
@Schema(description = "项类型")
|
|
|
private DictionaryType type;
|
|
|
@@ -43,4 +47,6 @@ public class DictionaryItemModel {
|
|
|
//禁用状态
|
|
|
@Schema(description = "状态")
|
|
|
private boolean disable;
|
|
|
+
|
|
|
+ private List<DictionaryItemModel> children;
|
|
|
}
|