Leonardo Vannucci
2019-04-03 84d99d0f0700b2a19f504b21b1747275251305d8
dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java
....@@ -53,6 +53,9 @@
5353 @Column(name="secret_key")
5454 private String secretKey;
5555
56
+ @Column(name="custom_key")
57
+ private String customKey;
58
+
5659 public RegDocument() {
5760 }
5861
....@@ -153,11 +156,19 @@
153156 this.secretKey = secretKey;
154157 }
155158
159
+ public String getCustomKey() {
160
+ return customKey;
161
+ }
162
+
163
+ public void setCustomKey(String customKey) {
164
+ this.customKey = customKey;
165
+ }
166
+
156167 @Override
157168 public String toString() {
158169 return "RegDocument [documentId=" + documentId + ", created=" + created + ", createdBy=" + createdBy
159170 + ", modified=" + modified + ", modifiedBy=" + modifiedBy + ", fileHash=" + fileHash + ", filePath="
160
- + filePath + ", fileSize=" + fileSize + ", dueDate=" + dueDate + "]";
171
+ + filePath + ", fileSize=" + fileSize + ", dueDate=" + dueDate + ", customKey=" + customKey + "]";
161172 }
162173
163174 }