diff --git a/src/main/java/org/ntlab/nemophila/entities/PostJson.java b/src/main/java/org/ntlab/nemophila/entities/PostJson.java new file mode 100644 index 0000000..cc27ff4 --- /dev/null +++ b/src/main/java/org/ntlab/nemophila/entities/PostJson.java @@ -0,0 +1,16 @@ +package org.ntlab.nemophila.entities; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PostJson { + @JsonProperty("uid") + private String uid; + @JsonProperty("pid") + private String pid; + + public PostJson(String uid, String pid){ + this.uid = uid; + this.pid = pid; + } + +}