Browse Source

默认主键64位

zhou-hao 4 years ago
parent
commit
bde957ba20

+ 1 - 1
hsweb-commons/hsweb-commons-api/src/main/java/org/hswebframework/web/api/crud/entity/GenericEntity.java

@@ -35,7 +35,7 @@ import javax.persistence.Id;
 @Setter
 public class GenericEntity<PK> implements Entity {
 
-    @Column(length = 32,updatable = false)
+    @Column(length = 64,updatable = false)
     @Id
     @GeneratedValue(generator = "default_id")
     private PK id;