firstName and lastName are mandatory in database
This commit is contained in:
parent
d4d7a5a2b0
commit
ee11acdaab
@ -34,11 +34,13 @@ public class ContactVO extends AbstractVO implements ValueObject {
|
||||
@Pattern(regexp="[\\p{L}\\p{Nd}\\-\\ ]*")
|
||||
@ReadWrite(ReadWritePolicy.READWRITE)
|
||||
@Search(SearchPolicy.LIKE)
|
||||
@Required(true)
|
||||
private String firstName;
|
||||
|
||||
@Pattern(regexp="[\\p{L}\\p{Nd}\\-\\ ]*")
|
||||
@ReadWrite(ReadWritePolicy.READWRITE)
|
||||
@Search(SearchPolicy.LIKE)
|
||||
@Required(true)
|
||||
private String lastName;
|
||||
|
||||
@Pattern(regexp="[\\p{L}\\p{Nd}\\-\\ ]*")
|
||||
|
Loading…
Reference in New Issue
Block a user