Added specific message key for testing @NotNull handling.
This commit is contained in:
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull;
|
||||
public class Customer {
|
||||
|
||||
@Id @GeneratedValue private Long id;
|
||||
@NotNull
|
||||
@NotNull(message = "no.userid")
|
||||
private String userid;
|
||||
|
||||
public Long getId() {
|
||||
|
||||
Reference in New Issue
Block a user