diff --git a/VamPa/pom.xml b/VamPa/pom.xml index 6f9cd27..21865e6 100644 --- a/VamPa/pom.xml +++ b/VamPa/pom.xml @@ -230,7 +230,13 @@ com.fasterxml.jackson.core jackson-databind 2.12.1 - + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.12.1 + diff --git a/VamPa/src/main/java/com/vam/model/AttachImageVO.java b/VamPa/src/main/java/com/vam/model/AttachImageVO.java new file mode 100644 index 0000000..61fea16 --- /dev/null +++ b/VamPa/src/main/java/com/vam/model/AttachImageVO.java @@ -0,0 +1,56 @@ +package com.vam.model; + +public class AttachImageVO { + + /* 경로 */ + private String uploadPath; + + /* uuid */ + private String uuid; + + /* 파일 이름 */ + private String fileName; + + /* 상품 id */ + private int bookId; + + public String getUploadPath() { + return uploadPath; + } + + public void setUploadPath(String uploadPath) { + this.uploadPath = uploadPath; + } + + public String getUuid() { + return uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public int getBookId() { + return bookId; + } + + public void setBookId(int bookId) { + this.bookId = bookId; + } + + @Override + public String toString() { + return "AttachImageVO [uploadPath=" + uploadPath + ", uuid=" + uuid + ", fileName=" + fileName + ", bookId=" + + bookId + "]"; + } + + +} diff --git a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index 9116bcd..2b210d1 100644 --- a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Thu May 13 22:57:49 KST 2021 +#Mon May 17 06:06:33 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project2\\VamPa m2e.projectName=VamPa groupId=com.vam diff --git a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml index 6f9cd27..21865e6 100644 --- a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml +++ b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml @@ -230,7 +230,13 @@ com.fasterxml.jackson.core jackson-databind 2.12.1 - + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.12.1 + diff --git a/VamPa_MySQL/pom.xml b/VamPa_MySQL/pom.xml index 595ac75..5eabfb5 100644 --- a/VamPa_MySQL/pom.xml +++ b/VamPa_MySQL/pom.xml @@ -231,6 +231,12 @@ jackson-databind 2.12.1 + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.12.1 + diff --git a/VamPa_MySQL/src/main/java/com/vam/model/AttachImageVO.java b/VamPa_MySQL/src/main/java/com/vam/model/AttachImageVO.java new file mode 100644 index 0000000..61fea16 --- /dev/null +++ b/VamPa_MySQL/src/main/java/com/vam/model/AttachImageVO.java @@ -0,0 +1,56 @@ +package com.vam.model; + +public class AttachImageVO { + + /* 경로 */ + private String uploadPath; + + /* uuid */ + private String uuid; + + /* 파일 이름 */ + private String fileName; + + /* 상품 id */ + private int bookId; + + public String getUploadPath() { + return uploadPath; + } + + public void setUploadPath(String uploadPath) { + this.uploadPath = uploadPath; + } + + public String getUuid() { + return uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public int getBookId() { + return bookId; + } + + public void setBookId(int bookId) { + this.bookId = bookId; + } + + @Override + public String toString() { + return "AttachImageVO [uploadPath=" + uploadPath + ", uuid=" + uuid + ", fileName=" + fileName + ", bookId=" + + bookId + "]"; + } + + +} diff --git a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index 5b02b3a..54834cb 100644 --- a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Thu May 13 23:16:50 KST 2021 +#Mon May 17 16:34:28 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project2\\VamPa_MySQL m2e.projectName=VamPa_MySQL groupId=com.vam diff --git a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml index 595ac75..5eabfb5 100644 --- a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml +++ b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.xml @@ -231,6 +231,12 @@ jackson-databind 2.12.1 + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.12.1 +