User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 374,143 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,510 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:

ER Diagram Help

Join Date: Apr 2008
Posts: 7
Reputation: schumaj is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
schumaj schumaj is offline Offline
Newbie Poster

Re: ER Diagram Help

  #2  
May 13th, 2008
The business rules listed are not the structural ones and have to be programmed in by the implementer of the database, you just have to list them.

Business rules:
The company insists that a client must take out an insurance cover for each equipment hire period.
Each piece of equipment is checked for faults when it is returned by the client.
Each outlet has a stock of equipment for hire that may be hired by clients for various periods of time, from a minimum of four hours to a maximum of six months.

Your entities are:

EQUIPMENT
PEOPLE
LOG (which is an intersection entity between EQUIPMENT and CLIENT)
OUTLET
LOCATION
JOB

In EQUIPMENT:
#ID
*Model
SUBTYPES:
POWER_TOOLS
*Voltage
PLANTS
*Size

In PEOPLE:
#ID
*lname
*fname
*DOB
manager_id
job_id (fk References job_id of JOB)
location_id (fk References id of LOCATION)

In LOCATION:
#id
*name

In JOB:
#id
* name

In LOG:
# hire_number
* client_ID
* equipment_ID


If you need help with the relationships, ask, but the one between the subtypes in the EQUIPMENT entity will go to the LOG entity as an arc. It would be easier for me to draw it rather than type it all out.
Reply With Quote  
All times are GMT -4. The time now is 3:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC