renamed postid for coherence

This commit is contained in:
Massimiliano Assante 2023-02-09 15:40:56 +01:00
parent 8b58a29d9f
commit 80aed8b486
1 changed files with 4 additions and 4 deletions

View File

@ -12,9 +12,9 @@ import com.fasterxml.jackson.annotation.JsonProperty;
*/ */
public class PostId { public class PostId {
@JsonProperty("postId") @JsonProperty("postid")
@NotNull(message="postId cannot be null") @NotNull(message="postid cannot be null")
@Size(message="postId cannot be empty", min=1) @Size(message="postid cannot be empty", min=1)
private String postId; private String postId;
public PostId() { public PostId() {
@ -36,7 +36,7 @@ public class PostId {
@Override @Override
public String toString() { public String toString() {
return "PostId [postId=" + postId + "]"; return "PostId [postid=" + postId + "]";
} }