From 717c181b7455a3da24d8e017f37244f97e7ee2b5 Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Sun, 1 Sep 2024 22:39:44 +0200 Subject: [PATCH] add DocumentDTO class --- .../com/mixel/docusphere/dto/DocumentDTO.java | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/com/mixel/docusphere/dto/DocumentDTO.java b/server/src/main/java/com/mixel/docusphere/dto/DocumentDTO.java index 0d2d592..21eb4ef 100644 --- a/server/src/main/java/com/mixel/docusphere/dto/DocumentDTO.java +++ b/server/src/main/java/com/mixel/docusphere/dto/DocumentDTO.java @@ -1,6 +1,41 @@ package com.mixel.docusphere.dto; -// FIXME: Implement document DTO public class DocumentDTO { + private String name; + private String description; + private String s3Path; + private String userId; + // Getters and Setters + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getS3Path() { + return s3Path; + } + + public void setS3Path(String s3Path) { + this.s3Path = s3Path; + } + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } }