The Artima Developer Community
Sponsored Link

Design Forum
sancutary ERD diagram

1 reply on 1 page. Most recent reply: Nov 13, 2006 9:37 PM by Charles Hammond

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
finch styles

Posts: 1
Nickname: monkeymafi
Registered: Nov, 2006

sancutary ERD diagram Posted: Nov 2, 2006 8:02 AM
Reply to this message Reply
Advertisement
hi could anybody please offer me a little bit of advice for a ERD that i have to produce.
just a little background. i have to design a ERD for an elephant sanctuary and i am just having trouble getting my head round the relationships between employee, volunteer adn managers with the sanctuary.

So far i have the following:
http://img.photobucket.com/albums/v635/monkey_mafia66/erd.jpg

i know that volunteer needs to be a subclass of employee because it shares the same attributes as employee as they are given a temporary employee id just wasnt sure whether to do a disjointed sublcass with manager. does this look okay?
it states that there are pre definied arrival dates and the system needs to record which date the volunteers are arrive and when they leave from the sanctuary. how would i present this? the volunteers also share a bungalow and the system needs to record which room has beeen allocated.
would i create a weak entity called bungalow?


Charles Hammond

Posts: 4
Nickname: ceh4702
Registered: Dec, 2005

Re: sancutary ERD diagram Posted: Nov 13, 2006 9:37 PM
Reply to this message Reply
This is an interesting concept.

Sactuary is the top object that encompasses everything. I would not put it in the ERD because everthing describes or is related to the sanctuary.

A manager is an employee and volunteers although they may not be paid are actually unpaid employees. So where are the Elephants? It is hard to understand.

However consider everyone a person. An Employee is a person that is paid. A manager is paid so he is an employee. The term Staff might work better for everyone that works for the organization. Staff is everyone with some job at your organization. Employee is a key that indicates an HR system that pays people.

Manager works for Person
Manager supervises Person (Both Paid and unpaid Staff)

could be
person or staff works for person
person or staff supervises person
person or staff manages animals
person or staff manages fixed assets
person or staff controls supplies.

Everyone is a person however, maybe some visitors may also do work like researchers.

Think of some other things like
Sanctuary has animals
Sanctuary has employees
Sanctuary has fixed assets
sanctuary has staff
sancutary has boundaries

In this case sactuary is an object so maybe the manager manages the sanctuary or does he work for the sanctuary or both. Maybe the manager works for an external agency. I work for a community college and Funding can come from many sources. Federal, State, County, Internal fundraising, Alumni, Donations, grants, etc.

If everyone was in a person table then there would be a circular relationship from supervisor to supervised. Even volunteers have to be supervised to some extent.

On a high level model try describing all of the characteristics, including the hidden characteristics, and then try to make a model to statisfy all of the characteristics or business rules.

Flat View: This topic has 1 reply on 1 page
Topic: Database design problem,ERD, need ur advice. Previous Topic   Next Topic Topic: Help in normalization of database

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use