Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @DTO
- public class PersonDTO {
- @NotNull
- private String firstName;
- @NotNull
- @Size(min = 5)
- private String lastName;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement