-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new class Shelter #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! just take into consideration that is better to use Long instead of String when dealing with identifiers (the user is an exception in our case)
@jorgechp Bump. I need this to implement the relations form Pet to Shelter. |
Hello @LordDangerous @PauMAVA, You should add more validations for mobile field. Examples: +3466666AA66,empty string. In this case, you should use regex. https://stackoverflow.com/questions/10631960/validate-mobile-number-using-hibernate-annotation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
New class Shelter