APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) TUNGA Restaurants --------------- Mr. /Ms.: 1. 2. 3. 4. Pham Tuan Thanh – Student523586 Nguyen Quoc Cuong – Student525582 Nguyen Hong Truong – Student487043 Bui Duc Huy – Student515786 Submitted By: Mr. Pham Tuan Thanh Authorized Signature: Mr. Nguyen Van Duoc Date of Issued: 24/11/2012 ---------------- July 2012 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) REVIEW 1 Group I – C1011L Page 2 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Chapter I: Problem Definition Description about the Project Name FUN ‘N’ FOOD is a big name in the hospitality business (Hotels & Resorts) and has a very successful independent chain of restaurants TUNGA in the country. TUNGA restaurants are known for their wide range of continental cuisine and consummate style. Existing scenarion TUNGA provides range fully-equipped, private meeting rooms, and regal banquet halls which offer the perfect combination of efficiency and convenience. They are also popular among school & college students for range of bakery & fast food products. With increasing popularity and the customer base, organization has decided to go techno savvy to meet customer expectations with respect to its exclusive services in the market. Organization has decided to reach out to its customers via online services through a web site on the internet. The web site talks about other business aspects of the firm and has online reservation and home delivery service as one of its premium services. Group I – C1011L Page 3 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Chapter II: Requirement Specification Functional Requirements The site should allow customer to choose the services offered by the restaurant. 1. Online table reservation in the restaurant for specific date and time. This will a. Provide the list of restaurants in the country so that the user can choose accordingly. b. Provide the list of tables available for online reservation at different dining rooms in the restaurant. c. Mention the number of guests that can be accommodated on the particular table. d. Accept the booking for tables. e. Online table reservations are done 6hrs in advance for the current date. f. Table reservation can be done up to one month in advance. g. Give a token number to the customer as an acknowledgement of booking. 2. Online order for food under restaurant’s exclusive home delivery service. a. This facility is valid for 24hrs. from the time of order. b. Accept the customers order so that the nearest restaurant can service the order in stipulated time (60 - 120 Minutes). c. Record the customer’s name, residence address and contact numbers and other vital details if required. d. Facilitate with the choice of food keeping Vegetarian and nonvegetarian customers in mind. e. Provide the menu list with their price tags accordingly and also mention the number of persons that can be served with one unit of order. This will help the customer to decide the quantity to be ordered. f. Display the list items select from the menu and exact amount (itemized bill) that the customer is supposed to pay (inclusive of all taxes applicable). g. Give a token number as an acknowledgement to the customer that the order has been noted down by the restaurant. h. Show the approximate time (in minutes) in which the ordered will be delivered to the customer. 3. The site should have the appropriate look and feel suitable to the restaurant’s reputation and status. Group I – C1011L Page 4 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Technical System requirements Hardware A minimum computer system that will help you access all the tools in the courses is a Pentium 166 or better 256 Megabytes of RAM or better Windows 2000 (or higher if possible) Software Notepad/HTML editor/visual studio/J2EE Java/asp.net SQL Sever 2000 IE 5.0/ Netscape 6.0 Visual studio.net J2EE Group I – C1011L Page 5 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Chapter III: UML Diagram I. Usecase Diagram Manager Usecase Group I – C1011L Page 6 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Customer Diagram Group I – C1011L Page 7 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Admin Usecase Group I – C1011L Page 8 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) REVIEW 2 Group I – C1011L Page 9 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Chapter IV: Entity Relationship and Database Design/Structure FoodStyle Restaur ant StyleID RestaurantID FoodID Name Email Address Food FoodID MenuID FoodName Description Price Phone Employee ShortDescription EmployeeID P r omotionDetail Description Customername Style Picture PromotionID Password FoodID FullName StyleID Status FoodPromotionPercent Address Name CountryCode Email Description Latitude Phone Image Longitude Avalable Image Serves Image Role P r omotion PromotionID PromotionName M enu MenuID BeginTime EndTime PromotionPercent T ableStyle C ustomer StyleID CustomerID TableID Room RoomID FullName RestaurantID MenuName Email Name MenuImage Pass RoomType ShortDescription Address Description ParrentMenuID O r der OrderID Phone T able VIP TableID CustomerID RoomID ReciverName Image PromotionID MinCap Address Phone OrderDateTime Comment Confirmed Finished Success MoneySum Latitude Longitude Tax MaxCap Booking Status BookingID AdditionPrice CustomerID Description Phone BookDatetime Comment Confirmed BookingDetails BookingID TableID Cancel Token TimeOccupited Token FoodInT able FoodID TableID O r der Details OrderID FoodID O r der InBooking BookingID OrderID Number Price PromotionPercent Group I – C1011L Page 10 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) Database 1. Table “Restaurant” contains the information about all the restaurants available in the system. Beside normal info, there are also include geographical info like longitude and latitude so that the system can locate the restaurant when an order is placed. Field Name IDCandidate Table: Candidate Data Type Null Key Int No PK Description 2. Table “User” contains the personal information of the normal user account. They can register for new account for free on the website, and then login by using the email they provided, there is no need to store separate username. The system divided user into two group, the normal member and VIP member, according to the amount of order or total amount of money they have spent. 3. Table “Menu” lists the first level of menu of the restaurant, such as: Food, Drink, Combo, etc. 4. Table “SubMenu” list the second level of menu of the restaurant. For example: Food have Pizza, Bugger, Combo and Drink have Coffee, Smoothie 5. Table “Employee” contains information of the employee in the system, including the Manager, Admin and some other roles that may become needed in the future. The Manager role only have the right to access or modify some table in the database like Booking, Food, Order, … ; but not table like Restaurant. On the other hand, the Admin role has access to all resources. These roles are distinguished by the “Role” properties, for now, this prop only have two values. Group I – C1011L Page 11 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) 6. Table “Food” contains information of every type of food available in the system. There’re also . Each type of food can belong to one SubMenu. 7. Table “Style” lists all the styles of food available, such as Western, Vegetarian, Thai, etc. This table is different from the “Menu” and “SubMenu” table. While the previous tables indicate a structure to organize Food on the website or in database, the Style table is used to give user more detailed information about the food they are choosing. Each kind of food can have multiple Styles. These Styles can also appear as a type of sorting. 8. Table “FoodStyle” lists the first level of menu of the restaurant, such as: Food, Drink, Combo, etc. 9. Table “Menu” lists the first level of menu of the restaurant, such as: Food, Drink, Combo, etc. Group I – C1011L Page 12 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) I.LOGIN – REGISTER – VIEW/EDIT INFORMATION 1.1 LOGIN At main screen click at top right screen : Type your email and password then click Login Group I – C1011L Page 13 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) If you haven’t account yet. Please click Register to reg new account : 1.2 REGISTER ACCOUNT Screen after Login succes: Click Information user to view your information Group I – C1011L Page 14 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) 1.3 VIEW USER INFORMATION 1.4 EDIT USER INFORMATION : Group I – C1011L Page 15 of 16 APROTRAIN-APTECH COMPUTER EDUCATION (Aptech House, 32Bis D2 St, Binh Thanh Disc, HCMC, Tel: (08) 35 129 620) 1.5 LOGOUT Click logout button. Group I – C1011L Page 16 of 16