When I query the MySql data base I can see the record added in the customer_details table.
1. save employee details and persist data in contact_details table
2. search by phone_number and list the details(either customer or employee) of the related phone number
3. search by employee_id or customer_id and get customer/employee + contact details back
How could i map my model to start with?
Could anyone help me with the queries, please?
I like tacos! And this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners