From 84d99d0f0700b2a19f504b21b1747275251305d8 Mon Sep 17 00:00:00 2001
From: Leonardo Vannucci <leonardo.vannucci@grupposistematica.it>
Date: Wed, 03 Apr 2019 10:40:10 +0200
Subject: [PATCH] Gstione customKey
---
dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java b/dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java
index 8039327..ed0675f 100644
--- a/dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java
+++ b/dg1cloud-core/src/main/java/it/digione/dg1cloud/model/RegDocument.java
@@ -53,6 +53,9 @@
@Column(name="secret_key")
private String secretKey;
+ @Column(name="custom_key")
+ private String customKey;
+
public RegDocument() {
}
@@ -153,11 +156,19 @@
this.secretKey = secretKey;
}
+ public String getCustomKey() {
+ return customKey;
+ }
+
+ public void setCustomKey(String customKey) {
+ this.customKey = customKey;
+ }
+
@Override
public String toString() {
return "RegDocument [documentId=" + documentId + ", created=" + created + ", createdBy=" + createdBy
+ ", modified=" + modified + ", modifiedBy=" + modifiedBy + ", fileHash=" + fileHash + ", filePath="
- + filePath + ", fileSize=" + fileSize + ", dueDate=" + dueDate + "]";
+ + filePath + ", fileSize=" + fileSize + ", dueDate=" + dueDate + ", customKey=" + customKey + "]";
}
}
\ No newline at end of file
--
Gitblit v1.6.2