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; } }