Updates after editor feedback
This commit is contained in:
parent
e15f2fc7dd
commit
5a31640528
@ -14,7 +14,7 @@ public class Customer {
|
|||||||
@Size(min = 5, max = 200)
|
@Size(min = 5, max = 200)
|
||||||
private String lastName;
|
private String lastName;
|
||||||
|
|
||||||
public Customer(@Size(min = 5, max = 200) @NotNull String firstName, @Size(min = 5, max = 200) String lastName) {
|
public Customer(@Size(min = 5, max = 200) @NotNull String firstName, @Size(min = 5, max = 200) @NotNull String lastName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user