Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class UserLegalName extends Model {
- /**
- * The User that the UserLegalName belongs to
- */
- @OneToOne
- public User user;
- /**
- * The users first name
- */
- @Constraints.Required
- public String firstName;
- /**
- * The users last name
- */
- @Constraints.Required
- public String lastName;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement