Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 25th, 2012, 08:24 AM
latinunit latinunit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 7 latinunit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 37 sec
Reputation Power: 0
Exclamation PLEASE Guide me through this ERD

Guys, I have spent a few days designing a ERD for a case scenario, I think the entities, relationships, multiplicity and cardinality are correct.

However I was wondering if you guys could have a brief look and guide me or please advise and correct me if i am wrong.

This design is ERD 1, so the many to many relationships aren't resolved yet and the notation is UML, I am using StarUML to design this ERD.

The files are attached below;

I hope you guys can offer me some advise..

Thanks alot...

From the scenario, I have deducted the following business rules, for easier reading

--------------------Staff rules--------------------------------------------------------------------------------------
1. Each branch has a designated manager who has overall responsibility for the branch and the employees in the branch

2. To help manage the branch, an assistant manager supervises the staff

3. Employees must inform Alpha Luxury Holidays about their previous work history, for example, the company details and the job details.

4. Employee’s job can only be: manager, assistant manager, sales assistant and administrator;

Constrains;
 Staff gender should be recorded as ‘M’ or ‘F’:
 The employee’s salary should be greater than £10 and not exceed £50,000.
 Staff salary must not exceed the Manager’s salary;
 Staff numbers should be generated automatically using a sequence and a trigger.

----------------------reservation rules-----------------------------------------------------------------------------


1. A customer can book many reservations;

2. The customer normally would inform the agency staff of the length of stay, inward and outward dates, the city and country they would like to visit, their preferred facilities and the type of resort as well as the number of passengers.

3. The customer must also inform the member of staff if they are only booking a flight or only accommodation or both.

4. Details of the staff who took the booking must also be recorded.

Constrains;
 Each holiday end-date should not be earlier than the start-date.
 Customer’s email address should have a @ symbol present to be valid;
 Details of the staff who took the booking must also be recorded;

-------------------------------invoice rules-------------------------------------------------------------------
1. Once the holiday reservation is booked, the customer is invoiced for the holiday;

2. Customer must pay the invoice in full, either by cash, credit card, debit card or cheque

3. All invoices must be paid at least eight weeks before the departure date
;




CASE SCENARIO DOWNLOAD

Reply With Quote
  #2  
Old February 26th, 2012, 05:40 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,375 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 7 h 30 m 23 sec
Reputation Power: 4140
Quote:
Originally Posted by latinunit
I am using StarUML to design this ERD.
oh geez, not you too

Attached Images
File Type: gif scumbag-staruml.gif (5.7 KB, 53 views)
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > PLEASE Guide me through this ERD

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap