[general] Fix all type mismatch with db

This commit is contained in:
samnyan
2020-12-25 14:15:04 +08:00
parent 6152e8ef0a
commit ff5eab48c7
78 changed files with 165 additions and 190 deletions

View File

@@ -26,7 +26,7 @@ public class Card implements Serializable {
// A external id
@Column(name = "ext_id", unique = true)
private Integer extId;
private Long extId;
// Access Code
@Column(unique = true)

View File

@@ -24,6 +24,7 @@ public class PropertyEntry implements Serializable {
@Column(unique = true)
private String propertyKey;
@Column(columnDefinition = "TEXT")
private String propertyValue;
public PropertyEntry(String propertyKey, String propertyValue) {