Before I can create a shipment to a particular address it first needs to be defined in a supplier database, after which supplier provides me an supplier_addr_id for this particular address. I need to map supplier_addr_id to either shop_id or employee_id.
My problem is that I need to be able to map supplier_addr_id to shop_id without specifying employee_id and to map supplier_addr_id to employee_id without specifying shop_id. Should I just create two seperate tables supplier_addr_shop_map and supplier_addr_employee_map?
What would be the best appropach here?