antonyx
Arsenal Supporter
- Local time
- Today, 21:22
- Joined
- Jan 7, 2005
- Messages
- 556
http://www.londonheathrowcars.com/rels.jpg
basically this is a system for a cab office.
the BOOKER and the LEAD PASSENGER will both come from the PERSON table.
the PICKUP and the DESTINATION will both come from the PLACE table.
if a JOB is a cash job, it wont involve a PAYMENT, if it is a credit card job it will.
a JOB may have more then one PAYMENT (eg, 2 passengers paying £30 each on their own cards)
each PAYMENT will involve one CREDIT CARD
a PAYMENT might pay for more then one JOB
a JOB may or may not belong to an ACCOUNT
a JOB may or may not belong to an INVOICE
an INVOICE will involve one or more JOBS
*********************************************
the rest is fairly straightforward..
the only issues are if we are picking up 4 passengers.. we have decided to limit the system to only register a LEAD PASSENGER..the same problem is with the PICKUPS and DESTINATIONS. there might be 4 pickups.. each pickup picking up a different passenger, and then 3 drops dropping 2 passengers in 1 place.. etc..
we have avoided this because its not really THAT important..
can anyone see any other problems with this layout?
basically this is a system for a cab office.
the BOOKER and the LEAD PASSENGER will both come from the PERSON table.
the PICKUP and the DESTINATION will both come from the PLACE table.
if a JOB is a cash job, it wont involve a PAYMENT, if it is a credit card job it will.
a JOB may have more then one PAYMENT (eg, 2 passengers paying £30 each on their own cards)
each PAYMENT will involve one CREDIT CARD
a PAYMENT might pay for more then one JOB
a JOB may or may not belong to an ACCOUNT
a JOB may or may not belong to an INVOICE
an INVOICE will involve one or more JOBS
*********************************************
the rest is fairly straightforward..
the only issues are if we are picking up 4 passengers.. we have decided to limit the system to only register a LEAD PASSENGER..the same problem is with the PICKUPS and DESTINATIONS. there might be 4 pickups.. each pickup picking up a different passenger, and then 3 drops dropping 2 passengers in 1 place.. etc..
we have avoided this because its not really THAT important..
can anyone see any other problems with this layout?