humuyu il y a 3 ans
Parent
commit
6f308187c6

+ 2 - 0
eladmin-system/src/main/java/me/zhengjie/application/admin/service/dto/DictDetailDto.java

@@ -37,4 +37,6 @@ public class DictDetailDto extends BaseDTO implements Serializable {
     private String value;
 
     private Integer dictSort;
+    
+    private String remark;
 }

+ 5 - 1
eladmin-system/src/main/java/me/zhengjie/dao/mybatis/entity/DictDetail.java

@@ -48,9 +48,13 @@ public class DictDetail extends BaseEntity implements Serializable {
     @ApiModelProperty(value = "字典标签")
     private String label;
 
+    @ApiModelProperty(value = "字典值描述")
+    @Column(name = "remark")
+    private String remark;
+    
     @ApiModelProperty(value = "字典值")
     private String value;
-
+    
     @ApiModelProperty(value = "排序")
     private Integer dictSort = 999;
 }