I am designing an application that will allow for childminders/nannies to find babies to look after and parents to find childminders/nannies that will look after their children.
I would like to have a single ACCOUNT
database table both for parents and childminders.
However, there are some slight differences between parent accounts and childminder accounts i.e.
- childminders can have a curriculum/resume attached to their account (materialized by a
RESUME
database table) - childminder accounts are further refined by a childminder statuses (Nanny, Baby-sitter, etc.) (materialized by a
CHILDMINDER_STATUS
database table). A childminder can have one or more "childminder statuses".
I am not sure what the relationships between the ACCOUNT
, RESUME
and CHILDMINDER_STATUS
should be...
P.S. I use MySQL server.
EDIT:
I forgot to mention that an ACCOUNT
belonging to a childminder has zero or more ADVERTISEMENT
that belong only to a childminder. Same thing with ACCOUNTs
belonging to a parent together with their ADVERTISEMENTs
.