Last active
April 12, 2017 15:50
-
-
Save arnaudgeiser/6acf23e3f7005dda4bcf3ca70d941162 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person { | |
private String email; | |
@Size(min = 8) | |
private String firstname; | |
@NotNull | |
@Future | |
private Date future; | |
@Pattern(regexp="[0-9]{3}-[0-9]{8}") | |
private String phoneNumber; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment