wip: 字典重构临时提交

This commit is contained in:
ray
2024-10-03 17:41:38 +08:00
parent 7dc8e61989
commit 3f2a5a28df
15 changed files with 82 additions and 85 deletions

View File

@@ -19,7 +19,7 @@ public class Dict extends BaseEntity {
/**
* 字典编码
*/
private String code;
private String dictCode;
/**
* 字典名称

View File

@@ -23,7 +23,7 @@ public class DictForm {
private Long id;
@Schema(description = "字典名称",example = "性别")
private String dictName;
private String name;
@Schema(description = "字典编码", example ="gender")
private String dictCode;
@@ -32,5 +32,4 @@ public class DictForm {
@Range(min = 0, max = 1, message = "字典状态不正确")
private Integer status;
}

View File

@@ -23,12 +23,12 @@ public class DictDataPageVO {
@Schema(description = "字典编码")
private String dictCode;
@Schema(description = "字典数据值")
private String value;
@Schema(description = "字典数据标签")
@Schema(description = "字典标签")
private String label;
@Schema(description = "字典值")
private String value;
@Schema(description = "排序")
private Integer sort;

View File

@@ -23,7 +23,7 @@ public class DictPageVO {
private Long id;
@Schema(description = "字典名称")
private String dictName;
private String name;
@Schema(description = "字典编码")
private String dictCode;