提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.api.dict.dto; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
@Schema(description = "RPC 服务 - 字典数据 Response DTO") |
|
7 |
@Data |
|
8 |
public class DictDataRespDTO { |
|
9 |
|
|
10 |
@Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
11 |
private String label; |
|
12 |
|
|
13 |
@Schema(description = "字典值", requiredMode = Schema.RequiredMode.REQUIRED, example = "iocoder") |
|
14 |
private String value; |
|
15 |
|
|
16 |
@Schema(description = "字典类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "sys_common_sex") |
|
17 |
private String dictType; |
|
18 |
|
|
19 |
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
20 |
private Integer status; // 参见 CommonStatusEnum 枚举 |
|
21 |
|
|
22 |
} |