2022-05-05 13:58:45 +08:00
|
|
|
package net.maku.system.vo;
|
2022-04-22 15:26:39 +08:00
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 全部字典
|
|
|
|
*
|
|
|
|
* @author 阿沐 babamu@126.com
|
|
|
|
*/
|
|
|
|
@Data
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "全部字典")
|
2022-04-22 15:26:39 +08:00
|
|
|
public class SysDictVO {
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "字典类型")
|
2022-04-22 15:26:39 +08:00
|
|
|
private String dictType;
|
|
|
|
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "字典数据列表")
|
2022-04-22 15:26:39 +08:00
|
|
|
private List<DictData> dataList = new ArrayList<>();
|
|
|
|
|
|
|
|
@Data
|
|
|
|
@AllArgsConstructor
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "字典数据")
|
2022-04-22 15:26:39 +08:00
|
|
|
public static class DictData {
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "字典标签")
|
2022-04-22 15:26:39 +08:00
|
|
|
private String dictLabel;
|
|
|
|
|
2022-04-23 23:01:54 +08:00
|
|
|
@Schema(description = "字典值")
|
2022-04-22 15:26:39 +08:00
|
|
|
private String dictValue;
|
|
|
|
}
|
|
|
|
}
|