Softech Aptech Da NangeProject Document
East2West DocumentationGroup IV:
Group Member:-Nguyen Duc Tam-Nguyen Cao Huu Thien (Leader)-Phan Ho Ngoc Quang-Tran Dang Quang
Teacher:-Le Thanh Tung
Table of Contents
31.Introduction
32.Problem Definition
32.1.Problem Abstraction
32.2.Development Environment
43.Requirements and Business Flow
43.1.Customer Requirement Specification
63.2.Activity Diagram
123.3.Use Case Diagram
154.Design
154.1.System Architecture
164.2.Class Diagram
174.3.Entity Relationship Diagram
184.4.Database Design
254.5.Sequense Diagram
314.6.Project Plan
325.Screenshots
386.Checklist
386.1.Check List of Validation
386.2.Submission Checklist
1. Introduction
East2West Tours and Travels is a young and dynamic company run by dedicated professionals committed to providing the highest standards of service to the travel industry. We place great emphasis on personalized service, meticulous attention to detail, innovative itineraries and excellent customer care. However, over the years, there have been few difficult situations or queries, which we have not been able to solve and look forward to improve upon in the future. We are on call, at your service, 7 days a week. Our rates are highly competitive, and if you are seeking a travel agency who can not only provide top quality service, but can also anticipate and fully understand your needs, then look no further.
2. Problem Definition2.1. Problem Abstraction
An application should be created that will provide the following functions: Query the database and display packages according to the criteria specified by the customer
Book customer for the chosen package tour
Query the database and display cars that fit in the specifications provided by the customer
Rent a car to a customer
Find and display detailed information about the hotels in a city
Find and display information about the flights to a city
Cancel package bookings and car rentals and calculate the appropriate refund
Apart from this, help in ad hoc report generation.
2.2. Development Environment
Hardware
Pentium IV CPU 1.80 GHz.Software
Apache Tomcat 6.0.26. Internet Explorer 8, Firefox 3.6. Microsoft SQL Server 2005. NetBeans IDE 6.9, JDK 1.6. Adobe Firework CS 5, SmartDraw VP. Microsoft Word 2010. Window 2000, XP or higher.3. Requirements and Business Flow
3.1. Customer Requirement Specification The system developed should be able to perform the following functions:
a) Package Tours
Search the database and display detailed information about the Package tours that are available according to the parameters provided by the customer.
Book the customer for the selected Package tour.
Cancel the bookings as and when required.
b) Car Rentals
Search the database and display the available car models, car types and their cost according to the parameters given by the customer. The parameters could be car model, type, air-conditioning required, driver required, seating capacity, pickup date or drop off date.
Book the car that the customer has selected.
Cancel the booking as and when required.
c) Information Desk
Search the database and display the Hotels that are available in the city, and within the price range specified by the customer.
Search the database and display detailed information about the Flights that are available to the destination specified by the customer and that leave from the departure airport specified by the customer.
d) Sales Analysis
Perform sales analysis on the car rental service by calculating how much revenue is generated based on the following factors:
Car Model
Car Type
Income range of customers
Rental Cost
Air-conditioned cars
Non Air-conditioned cars
Season
Perform sales analysis on the Package Tour service by calculating how much revenue is generated based on the following factors:
Package Duration
Package Type
Package Cost
Income range of customers
Group type of customers
Season
3.2. Activity Diagram
Guest activity
Customer Activity
Admin activity
Login activitySearch activity
Booking activityCancel activity
Manage Hotel, Flight, Package tour, Car, Customer, User, Booking, Location Activity (called as item in above figure)
3.3. Use Case Diagram
Use Case NameManage hotels, tour packages, cars, flights
Brief DescriptionUse Manage Manage hotel, tour packages, cars, flights (items)
Flow of EventsAdmin can View , edit, update, delete items
Basic FlowDisplay information items
Pre RequirementsSystem Admin, Admin
Use Case NameManage User
Brief DescriptionUse create manager user
Flow of Events
Basic Flow Display form Add Manager user
Accept information.
Check information.
If correct, save into database.
If not correct, Accept information again
Alternative FlowsAccept information is not correct, display report error.
Pre RequirementsSystem manager
Post Condition
Use Case NameBooking
Brief DescriptionUse booking Tour
Flow of Events
Basic Flow Display form Booking
Accept Booking tour
User click booking button.
Check booking.
If correct , booking tour save to database.
Else Accept again or come back to Home page.
Pre RequirementsSystem manager
Post ConditionBooking tour successful.
4. Design
4.1. System Architecture
Website bases on MVC (Model-View-Controller) architecture
Web-Based Distributed MVC Architecture of the Project
4.2. Class Diagram
4.3. Entity Relationship Diagram
4.4. Database DesignPackage tours
Field NameData TypeNote
id (PK)int
namenvarchar(150)
stateint0: unpublished; 1: published;
durationint
descriptionNtextAllow null
pricefloat
type_id (FK)int
Package_tour_types
Field NameData TypeNote
id (PK)int
namenvarchar(100)
Package_tour_locations
Field NameData TypeNote
package_tour_id (FK)int
location_id (FK)int
orderingint
Package_tour_hotels
Field NameData TypeNote
id (PK)int
package_tour_id (FK)int
hotel_id (FK)int
orderingint
Package_tour_foods
Field NameData TypeNote
id (PK)int
package_tour_id (FK)int
food_id (FK)int
orderingint
Foods
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
Locations
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
Hotels
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
addressnvarchar(250)
phone nvarchar(50)
facilitiesnvarchar(250)
cuisinesnvarchar(50)
price_fromfloat
price_tofloat
location_id (FK)int
Flights
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
arrival_timedatetime
departure_time datetime
arrival_city (FK)int
department_city (FK)int
pricefloat
Tour_bookings
Field NameData TypeNote
id (PK)int
package_id (FK)int
customer_id (FK)int
participantsint
pricefloat
state int0: unpublished; 1: published; -1: canceled
start_datedatetime
end_datedatetime
created_ondatetime
Modified_onDatetimeAllow null
Car_bookings
Field NameData TypeNote
id (PK)int
car_id (FK)int
customer_id (FK)int
pricefloat
refundFloatAllow null
state int0: unpublished; 1: published; -1: canceled
pick_up_datedatetime
drop_off_datedatetime
created_ondatetime
modified_onDatetimeAllow null
Customers
Field NameData TypeNote
id (PK)int
fullnamenvarchar(100)
addressnvarchar(250)
email nvarchar(50)
passwordnvarchar(50)
typeint
created_ondatetime
Cars
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
seating_capacityint
driverint
air_conditionerint
pricefloat
model_id (FK)int
type_id (FK)int
Car_types
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
Car_models
Field NameData TypeNote
id (PK)int
namenvarchar(50)
stateint0: unpublished; 1: published;
Users
Field NameData TypeNote
id (PK)int
fullnamenvarchar(100)
email nvarchar(50)
passwordnvarchar(50)
stateint0: disable; 1: active;
group_id (FK)int
created_ondatetime
User_groups
Field NameData TypeNote
id (PK)int
namenvarchar(50)
4.5. Sequense Diagram
Note: Add, update and delete sequence diagram of Package tour also apply to other objects like: car, hotel, flight, customer, user
4.6. Project PlanTasksResponsibleStart dateEnd dateStatus
Build MVC architectureThien7/25/20117/27/2010
Build web interface for adminTam,Thien7/28/20107/30/2010
Build web interface for clientNQuang,DQuang8/1/20108/3/2010
Build user managementNQuang8/5/20108/7/2010
Build customer managementThien8/8/20108/11/2010
Build car rental managementThien8/13/20108/15/2010
Build location managementDQuang8/14/20108/16/2010
Build food managementNQuang8/14/20108/16/2010
Build package tour type managementTam8/15/20108/18/2010
Build hotel managementThien8/18/20108/21/2010
Build flight managementNQuang8/17/20108/21/2010
Build package tour managementTam8/17/20108/20/2010
Build search functions on client sideTam, Thien8/20/20108/25/2010
Build car booking, package tour booking on client sideDQuang,NQuang8/20/20108/25/2010
Buid install guide, user guideTam8/23/20108/25/2010
TestAll8/25/20108/26/2010
5. Screenshots
Index page.
Package Tours
Cars
Tour booking
Admin Login
Adminstration
Google Map
6. Checklist
6.1. Check List of Validation
Checklist OptionValidated
Can a new user who gets registered, enter the web site after logging in?Yes
Do all the links navigate to the correct web page?Yes
Does the web sites functionality resolve the client problem and satisfy his need?Yes
Has the hardware and software been correctly chosen?Yes
6.2. Submission Checklist
Sr.NoParticularsYesNoNAComments
1Are the users able to enter the web site after validation is performed on the UserID and password?Yes
2Are the users able to enter the web site after getting registed?Yes
3Do all the web page contents are devoid of spelling mistakes?Yes
4Is the user able to post entry to the web siteYes
5Do all user and visitor able to view forumYes
6Admin able manage activity of forumYes
7Is the web site user- friendlyYes
Group IVPage 15