renamed postid for coherence
This commit is contained in:
parent
8b58a29d9f
commit
80aed8b486
|
@ -12,9 +12,9 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
|||
*/
|
||||
public class PostId {
|
||||
|
||||
@JsonProperty("postId")
|
||||
@NotNull(message="postId cannot be null")
|
||||
@Size(message="postId cannot be empty", min=1)
|
||||
@JsonProperty("postid")
|
||||
@NotNull(message="postid cannot be null")
|
||||
@Size(message="postid cannot be empty", min=1)
|
||||
private String postId;
|
||||
|
||||
public PostId() {
|
||||
|
@ -36,7 +36,7 @@ public class PostId {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PostId [postId=" + postId + "]";
|
||||
return "PostId [postid=" + postId + "]";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue