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 {
|
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 + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue