wip: 字典重构临时提交
This commit is contained in:
@@ -19,7 +19,7 @@ public class Dict extends BaseEntity {
|
||||
/**
|
||||
* 字典编码
|
||||
*/
|
||||
private String code;
|
||||
private String dictCode;
|
||||
|
||||
/**
|
||||
* 字典名称
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public class DictPageVO {
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "字典名称")
|
||||
private String dictName;
|
||||
private String name;
|
||||
|
||||
@Schema(description = "字典编码")
|
||||
private String dictCode;
|
||||
|
||||
Reference in New Issue
Block a user