diff options
author | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:12:57 +0000 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:12:57 +0000 |
commit | e78fccac558a93f18bae96ddb6c8e131afaf946d (patch) | |
tree | 7ad33b2d27902f90af1b5db304d5819eca14bab2 /pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java | |
parent | 27b8f07c7c0b5cac2c1eae6181335c8da03722b3 (diff) | |
parent | a070139872c65dc19d7fdd0b489474165627a4f1 (diff) | |
download | pdf-as-4-e78fccac558a93f18bae96ddb6c8e131afaf946d.tar.gz pdf-as-4-e78fccac558a93f18bae96ddb6c8e131afaf946d.tar.bz2 pdf-as-4-e78fccac558a93f18bae96ddb6c8e131afaf946d.zip |
Merge branch 'feature/bulk_light_sign' into 'development'
Feature/bulk light sign
See merge request egiz/pdf-as-4!8
Diffstat (limited to 'pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java')
-rw-r--r-- | pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java b/pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java new file mode 100644 index 00000000..a47f532c --- /dev/null +++ b/pdf-as-web-db/src/main/java/at/gv/egiz/pdfas/web/store/db/Response.java @@ -0,0 +1,54 @@ +package at.gv.egiz.pdfas.web.store.db; + +import java.util.Date; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; + +import org.hibernate.annotations.GenericGenerator; + +import at.gv.egiz.pdfas.api.processing.PdfasSignResponse; + +@Entity +@Table(name = "response") +public class Response { + + private String uuid; + private Date created; + private PdfasSignResponse signResponse; + + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid2") + @Column(name = "id", unique = true) + public String getId() { + return this.uuid; + } + + public void setId(String uuid) { + this.uuid = uuid; + } + + @Column(name = "created", nullable = false) + public Date getCreated() { + return this.created; + } + + public void setCreated(Date created) { + this.created = created; + } + + @Column(name = "signedResponse", nullable = false, length = 52428800) + public PdfasSignResponse getSignedResponse() { + return this.signResponse; + } + + public void setSignedResponse(PdfasSignResponse signResponse) { + this.signResponse = signResponse; + } + + +} |