You are on page 1of 7

Use Case of Customer and Visitor

Movie Booking System


choose by movie
extends extends choose by showtime

choose
uses

view
uses

insert information

extends

Reject

validate information
uses

create account

uses

add to database

Visitor
choose by movie
inherits

validate password view profile


uses uses uses

insert new profile extends uses choose by showtime extends

update profile

login
uses uses

choose showtime uses uses

insert Booking Detail

uses

book ticket

uses Caculate Price

uses

Customer

view booking detail


uses

uses insert payment detail uses

uses

cancel ticket
uses uses uses uses

define bookingID

validate payment information

check refund

Send Email

update database Send Email

extends

send a refund

extends full refund


Reject

extends extends extends


update database

50% Refund no Refund 25% Refund


Page 1 of 7

Visitor

Main Threads - View detail Actor Actions 1. View detail of database 2. Choose thing to see 3. Get the detail from database 4. Show the detail Alternative Threads 2.1 Choose by - movie - show time System answers

- Create account Actor Actions 1. Create account 2. Insert information 3. Validate information 4. Add to database Alternative Threads 3.1 Visitor does not fill all conditions Reject System answers

Page 2 of 7

Customer

Actor Actions 1. Log in to the system

System answers

2. Validate the password 3. View profile 4. Show the Detail 5. Update profile 6. Insert new information 7. validate the information 8. Effect to the database 9. Make a booking 10. Choose show time 11. Show detail of show time 12. Insert Booking detail 13. Calculate price 14. Inform Customer 15. Insert payment detail 16. Validate payment detail 17. Update database 18. Send a confirmation booking to customers email 19. Choose Booking Detail 20. Show Booking Detail 21. Cancel a booking 22. Checking for refund 23. Return refund 24. Update database 25. Send a confirmation cancellation to customers email

Page 3 of 7

Alternative Threads 2.1 Customer input the wrong password 3.1 Customer can choose by - movie - show time 7.1 The information is not valid Reject Reject Reject

16.1 The payment detail is not valid

23.1 Return a mount of refund up to the date of cancellation - 78 hours before the film - 48 hours before the film - 24 hours before the film - late cancellation return full refund return 50% refund return 25 refund

no refund

Page 4 of 7

Use Case Diagram for Manager


Movie Booking System

choose user choose Booking choose Movie

extends extends extends extends

choose Showtime

validate password
uses

extends

choose screen

choose login
insert new information

uses

validate the information


extends

update

extends

effect to database

extends

cancel customer booking

delete

extends

Manager
effect to database

extends cancel customer booking

insert new information


uses

uses

Add
uses

effect to database

validate the information

Page 5 of 7

Manager Main Threads

Actor Actions 1. log in to the system

System answers

2. Validate the password 3. Choose thing to update or delete 4. Show the Detail 5. Insert new information 6. Validate the information 7. Effect to the database

Alternative Threads 2.1 Manager input the wrong password 3.1 Manger can choose by - movie - show time - booking - screen - user 6.1 The information is not valid Reject cancel customer booking Reject

7.1 Incase of updating that effect to customer booking and give him/her a full refund

Page 6 of 7

The notation of Use Case

The user of the system

Actor

Use Case

The use case of the system

uses

The include relation ship between two use cases

extends

The extend relation ship between two use cases

Communication between the actor and use case

System

Boundary of System

Page 7 of 7