Explorar el Código

说明可为空

zhou-hao hace 5 años
padre
commit
ed76dbed78

+ 0 - 4
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-api/src/main/java/org/hswebframework/web/system/authorization/api/entity/PermissionEntity.java

@@ -33,10 +33,6 @@ public class PermissionEntity extends GenericEntity<String> {
     @Comment("状态")
     private Byte status;
 
-    @Column
-    @Comment("类型")
-    private String type;
-
     @Column
     @ColumnType(jdbcType = JDBCType.LONGVARCHAR)
     @JsonCodec

+ 1 - 1
hsweb-system/hsweb-system-dictionary/src/main/java/org/hswebframework/web/dictionary/entity/DictionaryEntity.java

@@ -46,7 +46,7 @@ public class DictionaryEntity extends GenericEntity<String> implements RecordCre
     @Column(length = 32,name = "classified")
     private String                     classified;
     //说明
-    @Column(nullable = false)
+    @Column
     private String                     describe;
     //创建时间
     @Column(name = "create_time")