Hotel reservation DB specification Benjamin Ard Tom.

Slides:



Advertisements
Similar presentations
Hotel Reservation Specification UI and DB Messaging Team C Christina Manteli Paul Van der Ende Tom Hastjarjanto Vasilis Boucharas.
Advertisements

Chapter 4 Hotel (hotelno, hotelname, city)
1 Assignment 2 Relational Algebra Which tables? What operations? Common attributes? What result (attributes)? Syntax (Standard Notations and Symbols) –Product:
Chapter 6 Financial Forecast. Agenda Developing a financial forecast model Advanced formatting Using the scenario manager to facilitate decision-making.
Performance Tuning on Hotel Reservations Sanitized consulting story.
ATM User Interface V3. I/O Devices Input: Keyboardfor input, option select Keyboardfor input, option select Or Touch screen Or Touch screenOutput: Screenfor.
How to book a hotel through in ?
© Steven Alter, 2007, all rights reserved Database concepts Difference between a database and the Internet Reason for having a defined data structure Relational.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010 All Rights Reserved.
Using SQL to create tables Ways of using Databases.
Queries and query design What are queries? Questions that can be asked of the data in the tables. Questions can draw on one or more tables and can have.
Title. Preliminary Design2 Agenda Overview Life Cycle Model Data Flow Data Dictionary Constraints Prototype Summary.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
A Guide to MySQL 7. 2 Objectives Understand, define, and drop views Recognize the benefits of using views Use a view to update data Grant and revoke users’
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Data-tier Application, Import, Refactoring, Publish, Schema Comparison, Database Unit Testing Borislav Statev Telerik Software Academy academy.telerik.com.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
VASP PREPAYMENT SYSTEM Training Module for CLIENTS.
Exercise Develop a context Diagram for a small bank for “Loan Granting” process Identify EXTERNAL entities Develop a Context diagram.
DAY 20: ACCESS CHAPTER 5 Tazin Afrin October 29,
ICT IGCSE.  Understand a wide range of work-related ICT applications and their effects, including applications in libraries (such as records of books.
ABC Insurance Co. Paul Barry Steve Randolph Jing Zhou CSC8490 Database Systems & File Management Dr. Goelman Villanova University August 2, 2004.
Question 10 What do I write?. Spreadsheet Make sure that you have got a printout of your spreadsheet - no spreadsheet, no marks!
Hotel Reservation UI Ales, Christina, Christiaan, Vasilis.
Hotel Reservation Specification Ales, Christina, Christiaan, Vasilis.
Okinawa International Hotel Management System. Overview Currently at the Okinawa International hotel, routine procedures like; vacant room inquiry, reservation.
By The First Hotel Booking System. The Group Teodor Talov (Project Manager) Tyler Thomas Michael Evans Yolanda (Xiaofeng, Zhu)
1. To start the process, Warehouse Stationery (WSL) will invite you to use The Warehouse Group Supplier Electronic Portal and will send you the link to.
Hotel reservation UI Merijn Bellekom Ard Bahlman Vassilis Boucharas Martijn Nijenhof.
Assignements. CSC343: Intro. to Databases2 Exercise 1 Superkeys: Candidate keys: Primary key:
Internet Information Systems Writing to Databases and Amending Data.
Writing JavaScript Functions. Goals By the end of this unit, you should understand … How to breakdown applications into individual, re-usable modules.
SQL introduction 2013.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
The Rent-A-Dress Database
Populating and Querying tables Insert, Update, Delete and View (DML)
12.6 – Probability Distributions. Properties of Probability Distributions.
Events to Data Flows to Data Dictionaries System Analysis & Design.
6 Copyright © 2004, Oracle. All rights reserved. Adding Custom Validation.
CS 141 Computer Programming 1 Branching Statements.
Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table.
Merijn Bellekom Christina Manteli Ales Sturala Vassilis Boucharas.
CS 3630 Database Design and Implementation. Where Clause and Aggregate Functions -- List all rooms whose price is greater than the -- average room price.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
8 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
19 Copyright © 2004, Oracle. All rights reserved. Coding PL/SQL Triggers.
Selection Using IF THEN ELSE CASE Introducing Loops.
Hotel reservation system Team A Benjamin Bach Ard Bahlman Paul van der Ende.
Hotel reservation website UI specification Tom Hastjarjanto Christina Manteli Oscar de Groot Benjamin Bach.
The overview of Hotel Management System Currently at the Okinawa International hotel, routine procedures like; vacant room inquiry, reservation and cancellation.
effects of changing conditions
Assignements.
Assignment 2 Relational Algebra Which tables? What operations?
Chapter 5 Introduction to SQL.
CS 3630 Database Design and Implementation
Latihan Answer the following questions using the relational schema from the Exercises at the end of Chapter 3: Create the Hotel table using the integrity.
Assignment 2.
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
CS 3630 Database Design and Implementation
Algebraic Limits and Continuity
Exercise Develop a context Diagram for a small bank for “Loan Granting” process Identify EXTERNAL entities Develop a Context diagram.
Today in Precalculus Notes: Limits (no calculators) Go over quiz
Microsoft Access Validation Rules, Table Relationships And
Hotel Reservation Receipt
Updating Databases With Open SQL
Software Architecture & Design
Triggers 7/11/2019 See scm-intranet.
Exercise Develop a context Diagram for a small bank for “Loan Granting” process Identify EXTERNAL entities Develop a Context diagram.
Updating Databases With Open SQL
Presentation transcript:

Hotel reservation DB specification Benjamin Ard Tom

Message summary

Messages to/from HR ● AvailabilityRequest :: (RoomType, Dates :: [Date]) ● AvailabilityResponse :: [ (Date, AmountOfAvailableRooms) ] ● PriceRequest :: (RoomType, NumberOfPersons, Date) ● PriceResponse :: Price ● RoomTypesRequest :: () ● RoomTypesResponse :: [RoomType]

Messages to/from UI ● ReserveRequest :: ( UserId, DateFrom, DateTo, RoomsAmount, NumberOfPersons, CustomerDetails :: (Name, Surname, Address, PaymentDetails) ) – NB! Removed datatypes, changed RoomNumber and CreditCardDetails ● ReserveResponse :: {Accept|Reject|Error} – Accept :: ReservationID ● NB! Removed CustomerID and CustomerPassword – Reject – Error

Messages to/from UI ● CancelRequest :: (ReservationID, UserId) – Removed CustomerID and CustomerPassword ● CancelResponse :: {Accept|Reject|Error}

Database definition

Database Assumed Functionality ● The database supports locking of our relations (tables). – Lock(relation) – Unlock(relation) ● Relational algebra

Relations ● Reservations – RoomType – Amount – Date – CustomerID – ReservationID ● Customers – Name – Address – PaymentDetails

Constraint: Reservations ● For each RoomType and Date, the sum of Amount should not be greater than the Amount of the RoomType in the hotel.

Relations(2) ● RoomTypes – Amount – RoomDetails – MaxNumberOfPersons ● Price – Date – PricePerPerson – RoomType

Database functions

HR functions ● Availability – Input: a::AvailabilityRequest – Output: b::AvailabilityResponse – For each input a.Date calculate the amount of rooms that are available on a.Date and has a.RoomType.

HR functions ● Price – Input: a::PriceRequest – Output: b::PriceResponse

HR functions ● RoomTypes – Input: RoomTypeRequest – Output: b::RoomTypeResponse

UI functions ● Reservation – Input: ReservationRequest – Output: ReservationResponse – If Address and Payment details are valid ● Lock(Reservations) – Insert all data in Reservations and return Accept/Reject ● Unlock(Reservations) – Else return Error

UI functions ● Cancellation – Input: CancelRequest – Output: CancelResponse – If input data is valid ● Lock(Reservations) – Remove reservation with the ReservationID equal to the given ReservationID and return Accept/Reject ● Unlock(Reservations) – Else return Error