Last active
June 22, 2018 20:43
-
-
Save os890/c8da43d3d92ff84d5bbc6c79c2c77ac6 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 { | |
@Length(min = 1, max = 50, messageId = MY_LENGTH_MSG, propertyLabel = FIRST_NAME) | |
private String fName; | |
@Length(min = 2, max = 50, messageId = MY_LENGTH_MSG, propertyLabel = LAST_NAME) | |
private String lName; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment