DATABASE DESIGN FOR HOTE DU AUSTRIA: PROBLEM & SOLN.

Similar documents
A New Way to Work in the ERCOT Market

Atennea Air. The most comprehensive ERP software for operating & financial management of your airline

WHAT S NEW in 7.9 RELEASE NOTES

FareStar Ticket Window Product Functionality Guide

System for calculation of flights profitability. Paris 2002

myldtravel USER GUIDE

Application for Revalidation

DART. Duty & Recreation Travel STAFF TRAVEL SIMPLIFIED. Straightforward, easy to use staff travel management system for the airline industry

QuickStart Guide. Concur Premier: Travel

General Terms and Conditions for airberlin exquisite

INVITATION FOR EXPRESSION OF INTEREST

Derivation of xuml Models

Key Performance Indicators

e-crew Horizon Air Trip Trades Notes for the Flight Attendants

TD Generation. Merchant Guide: Air Miles. For the TD Generation

Myth Busting MyTravel. Kim Coleman and Nancy Herbst 26, March 2014

icrew Helpful Hints A publication of the Delta MEC Scheduling Committee February 1, 2017 Version 1

JOB DESCRIPTION FBO Manager

Opal One Day Travel Pass Questions and Answers

Tour Leader Official Guidelines

Part 1. Part 2. airports100.csv contains a list of 100 US airports.

QuickTrav Invoicing Carbon Footprint (v1.6q+)

AmadeusCytric Online User guide. October 2017

Mark Scheme (Results) January 2008

2/11/2010 7:08 AM. Concur Travel Service Guide Southwest Direct Connect

e-crew Horizon Air Pilot Trip Trades Phase I Notes for the Crewmembers

Higher National Unit Specification. General information for centres. Unit code: DR04 34

Travel Training Manual: Section 5. Travel Card Management Site. The Travel Card (TCARD) Management System

S-Series Hotel App User Guide

Passenger Rebooking - Decision Modeling Challenge

Preliminary Staff User s Manual. CASSi The Computerized Aircraft Scheduling System Rev. 1.28a. February 10, 2001

Air Travel: An Introduction (Higher) Selling Scheduled Air Travel (Higher)

Additional Boarding Setup and Daily Operations Guide

Reserve Pilot Scheduling

O-1 EMPLOYEE CHECKLIST & QUESTIONNAIRE

Air Carrier E-surance (ACE) Design of Insurance for Airline EC-261 Claims

Economic Impacts of Campgrounds in New York State

After entering the information for your request, click on the Enter button at the top of the screen and the Master Schedule will display.

The AeroKurier Online Contest Not Just for Computer Nerds

SOMMAIRE WORK IN SAS MODE BORDEAUX OR ST NAZAIRE CAN TAKE 3 TABLES OF 4 AGENTS ONE LEADER PER TABLE 10. BOOK A CAR 1.

About JetPrivilege + Benefits and Privileges

Specialty Cruises. 100% Tally and Strip Cruises

Concur Travel: VIA Rail Direct Connect

FBO Procedures in Expesite Original Document Last updated: Aug. 14, 2009

Appendix 8: Coding of Interchanges for PTSS

CASS & Airline User Manual

International Airport Concession Briefing Package

New Distribution Capability (NDC)

PARKING CAPACITY REQUIREMENTS

QCAA travel policy. Contents. Scope. Finance

Sabre Online Quick Reference Guide

Functional Skills Maths Assessment. Level 1

Heathrow Airport Bus and Coach Movement Charge

WELCOME TO THE RADISSON BLU ROYAL HOTEL, BRUSSELS THE BEST PLACE TO SAY: YES! TO A BRILLIANT NEW CAREER! INTERNSHIP AS FOOD & DRINKS MANAGER ASSISTANT

Measure 67: Intermodality for people First page:

Exclusive Benefits, Local Experiences

Solutions to Examination in Databases (TDA357/DIT620)

Signature Travel Expert Certification Course

Signature Travel Expert Certification Course

assist in understanding the hierarchal flow of the personnel at the front office

US AIRWAYS. November 11, 2013 VIA ELECTRONIC

Hotel Booking System For Magento

Abstract. Introduction

(Also known as the Den-Ice Agreements Program) Evaluation & Advisory Services. Transport Canada

Change of Status to F-1. International Student and Scholar Services

Estimating the Risk of a New Launch Vehicle Using Historical Design Element Data

Economic Impact for Airlines from Air Traffic Control Tower Modernization at LaGuardia Airport

- Online Travel Agent Focus -

AIRSERVICES AUSTALIA DRAFT PRICING NOTIFICATION REGIONAL EXPRESS SUBMISSION TO THE ACCC MAY 2011

North American Online Travel Report

Math at the Amusement Park

Sensitive Security Information

NHS Professionals System User Guide

14 YORK REGION TRANSIT (YRT/VIVA) SOUTHWEST DIVISION OPERATIONS AND MAINTENANCE CONTRACT EXTENSION

SUPERSEDED. [Docket No. 99-NM-121-AD; Amendment ; AD ]

TERMS AND CONDITIONS a. Members PRO b. Cancellation of accounts and cards

8 CROSS-BOUNDARY AGREEMENT WITH BRAMPTON TRANSIT

Kristina Ricks ISYS 520 VBA Project Write-up Around the World

MEMBER REGULATION. notice

E-3 EMPLOYEE CHECKLIST & QUESTIONNAIRE

Weymouth Promenade Lighting

Online Guest Accommodation Booking System

Date: 8 th June Document Reference. No. Tender Specifications

SUPERSEDED [ U] DEPARTMENT OF TRANSPORTATION. Federal Aviation Administration. 14 CFR Part 39 [66 FR /5/2001]

Application to add or remove, temporary or permanent Line Stations (Line Maintenance Facilities) to/from an approval.

Recommendations for Funding Water, Sewer and Drainage Systems. Presentation to the Citizens and Businesses of New Orleans January 2012

Please complete this form online (preferred method) then print, sign and submit as instructed.

Establishment of Policy Regarding Aircraft Dispatcher Certification Courses

important changes to your Altitude Qantas Rewards terms and conditions

Concur Travel: Post Ticket Change Using Sabre Automated Exchanges

ANDHRA PRAGATHI GRAMEENA BANK HEAD OFFICE : KADAPA. Cir No BC-ITD Date:

EU ECOLABEL USER MANUAL TOURIST ACCOMMODATION Commission Decision for the award of the EU Ecolabel for tourist accommodation (2017/175/EC)

Blank TA forms are obtained from Statewide Financial Systems. As TA s are in numerical sequence, there should be TA Log maintained.

Summary Report. Economic Impact Assessment for Beef Australia 2015

Garmin Pilot. Plan. File. Fly.

Solutions for CAT 2017 DILR Morning (Slot-1)

Booking instructions 1

June 29 th, Dear Camper and parents/guardians,

Airport Monopoly and Regulation: Practice and Reform in China Jianwei Huang1, a

Hotel Accessibility Pack

Transcription:

DATABASE DESIGN FOR HOTE DU AUSTRIA: PROBLEM & SOLN. PROBLEM Assume that you are an employee of a consultancy firm. Your firm has been hired to design and implement a database to support operations at the Hote description of the hotel follows: du Austria. A The hotel has three branches with all branches located in the same city. Each branch of the hotel has 100 rooms - (10 suites, 50 single rooms, 40 double rooms). Each branch of the hotel houses and manages a 4-star restaurant named Michelin, an entertainment lounge, a bar, a physical fitness room, a travel agency, a drugstore and a swimming pool for the guests. For branches, the information to be stored is the branch id (bid), branch location (b_locn) and branch manager (b_mgr). The travel agency which is named Travel City provides travel services for making local and international travel arrangements for guests and walk-ins. Customers visiting the travel services go to different branches of the hotel on different days depending on their convenience. Customers are assigned an ID and given a key card. Other customer information such as name address and phone are also stored. The drugstore, Trustworthy is open 24 hours a day, 7 days a week. It provides service to both guests and walkins. Lately, Trustworthy s managers have noticed that many customers go to more than one branch to fill their prescriptions. Since some customers have allergies or relevant medical conditions, it would be best for the managers of different branches to share information on the customer s medical history. Currently, the customers use cash or credit card (CC#) as a payment method, every time they encounter an expense at the hotel. One of the policies of management is to provide fast, convenient and unobtrusive service to customers such that a guest need not carry money to enjoy the hotel s amenities. In order to facilitate this policy, the management desires to include billing of meal, travel, drugstore, and entertainment expenses to the guest s room-bill as and when the expenses are incurred. Guests are shown a form that shows the invoice number (inv#), date (dt) and time (t) of the expense, the items & descriptions (item# & descr.) on the bill and the total amount. The management also desires to support instantaneous querying facility (on-line input with real time processing) of room bill status by management and authorized members of the staff. The new system should include a menu screen that can be used by the hotel receptionists to answer the following queries: 1) expenses by category such as pharmacy, restaurant etc. 2) a listing of current expenses and current total, 3) final bill showing all expenses and a grand total. Required: 1) FD diagram, 2) design 3) an explanation of how design meets requirements. PROBLEM ANALYSIS (ECLASSES ARE OUTLINED) Assume that you are an employee of a consultancy firm. Your firm has been hired to design and implement a database to support operations at the Hote du Austria. A 1

description of the hotel follows: The hotel has three branches with all branches located in the same city. Each branch of the hotel has 100 rooms - (10 suites, 50 single rooms, 40 double rooms). Each branch of the hotel houses and manages a 4-star restaurant named Michelin, an entertainment lounge, a bar, a physical fitness room, a travel agency, a drugstore and a swimming pool for the guests. For branches, the information to be stored is the branch id (bid), branch location (b_locn) and branch manager (b_mgr). The travel agency which is named Travel City provides travel services for making local and international travel arrangements for guests and walk-ins. Guests visiting the travel services go to different branches of the hotel on different days depending on their convenience. They are assigned an ID and given a key card. Other guest information such as name address and phone are also stored. The drugstore, Trustworthy is open 24 hours a day, 7 days a week. It provides service to both guests and walk-ins. Lately, Trustworthy s managers have noticed that many customers go to more than one branch to fill their prescriptions. Since some customers have allergies or relevant medical conditions, it would be best for the managers of different branches to share information on the customer s medical history. Currently, the customers use cash or credit card (CC#, expiry) as a payment method, every time they encounter an expense at the hotel. One of the policies of management is to provide fast, convenient and unobtrusive service to customers such that a guest need not carry money to enjoy the hotel s amenities. In order to facilitate this policy, the management desires to include billing of meal, travel, drugstore, and entertainment expenses to the guest s room-bill as and when the expenses are incurred. Guests are shown a form that displays the invoice number (inv#), date (dt) and time (t) of the expense, the items & descriptions (item# & descr.) on the bill and the total amount. The management also desires to support instantaneous querying facility (on-line input with real time processing) of room bill status by management and authorized members of the staff. The new system should include a menu screen that can be used by the hotel receptionists to answer the following queries: 1) expenses by category such as pharmacy, restaurant etc. 2) a listing of current expenses and current total, 3) final bill showing all expenses and a grand total. Required: 1) FD diagram, 2) design 3) an explanation of how design meets requirements. Comment [WIU1]: Attributes of branch. Comment [WIU2]: What is this? Comment [WIU3]: Invoice eclass Comment [WIU4]: Derived attribute Comment [WIU5]: Requirements that need to be fulfilled by the design 2

LIST ECLASSES AND ATTRIBUTES Branch: bid, b_locn, b_mgr. Room: room#, type Facility: facility code, type, manager Guest: guest_id, name, address, ph Comment [WIU6]: Room# is assumed; type is single, double or suite Comment [WIU7]: These are assumed. Facility type is used to denote whether it is a pool, restaurant, bar etc. Credit card: cc#, name, exp_dt. Medical history: MH#, code, description, prescriptions. Payment method: cc#, exp_dt Expense: item#, dt, time, descr., amount, pmt_type Room bill: inv#, dt, t Comment [WIU8]: Item# has been added. Its an artificial key denoting list of expenses; dt and time have also been added to describe expenses. Comment [WIU9]: Total is a derived attribute not included here. FD DIAGRAM bid, room# -- type ; since there are three branches, we cannot assume room# s will be unique. Type is determined by the room# facility code ---- bid, type, manager; same comments as above apply; note also that a branch can have multiple facilities but each facility belongs to one branch. guest_id --- name, addr, ph; self evident MH#, code, description, prescriptions; lets keep things simple and assume one prescription per medical problem. cc# -- name, exp_dt; each cc has an owner and expiration date. item# -- dt, t, descr., amount pmt_type, facility code; facility code refers to whether it is a gymn, restaurant etc. inv# -- dt, t; invoice# determines date and time it is created. room#, dt -- guest_id; encodes relationship between rooms and guests 3

DESIGN Room (room#, type) Facility (facility code, type, manager) Guest (guest_id, name, addr, ph) Medical History(MH#, code, description, prescriptions, guest_id); guest_id is the cross reference key. Card(cc#, exp_dt, guest_id); -- guest id is a cross reference key; in fact if a 1:1 between Guest and Card can be assumed, they can be combined. Expense(item#, date, time, descr., facility code, amount, pmt method, room#, cc#, inv#); ---- room# & cc# are inserted as a cross reference key; this makes pmt_type redundant. But is kept in case it is cash. Note that guest_id then need not be incorporated as another cross reference key (it is already a foreign key in card). Expenses usually belong on a room bill. When data is entered, if the inv# is blank then it is an expense by a walk-in customer. An additional note field should make such things clearer. Room bill(inv#, dt, t, guest_id) guest_id is inserted as a cross reference key in recognition of relationship between guests and expenses. MEETING THE REQUIREMENTS The requirements are as follows: 1. Guest s medical history shared across branches -- There is a medical history table that can be accessed from any branch. 2. Billing of customer Customer can use any facility at any branch and can get charged for it. The charges are accumulated in the Expense table. The payment method can be cash, room# or cc#. Subtypes are poorly handled in design theory and we are seeing it here. 3. Final bill -- Invoice is dynamically created as a view by combining room bill with expenses using inv# as the cross reference key. 4. Grand Total -- The total amount is a derived field and is calculated in a form/report or through a separate query. 5. Room bill status -- the same info as above can also be queried at any time through a multi-table SELECT statement involving Expense and Room bill. tables. 6. Expenses by category Expenses can be sorted based on facility code attribute for requirements #3, #4 and #5 above. 4

Medical history is not shown to avoid overcrowding it would be shown where the dotted rectangle is located. 5