SYYTe/maku-boot-system/src/main/java/net/maku/system/vo/SysDictVO.java

39 lines
892 B
Java
Raw Normal View History

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
2023-02-21 16:44:04 +08:00
* <a href="https://maku.net">MAKU</a>
2022-04-22 15:26:39 +08:00
*/
@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;
2022-12-08 22:22:49 +08:00
2022-12-10 14:45:12 +08:00
@Schema(description = "标签样式")
private String labelClass;
2022-04-22 15:26:39 +08:00
}
}