0% found this document useful (0 votes)
72 views

Class Diagram: Admins

This class diagram models the relationships between admins, movies, users, and orders in a movie booking system. Admins can manage all other classes and have authentication methods. Movies can be viewed by users and have showtimes. Users can book orders for movies and are managed by admins. Orders belong to users and are for specific movies with details like showtime and seats.

Uploaded by

Aina Zhrh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Class Diagram: Admins

This class diagram models the relationships between admins, movies, users, and orders in a movie booking system. Admins can manage all other classes and have authentication methods. Movies can be viewed by users and have showtimes. Users can book orders for movies and are managed by admins. Orders belong to users and are for specific movies with details like showtime and seats.

Uploaded by

Aina Zhrh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Class Diagram

<<control>>
Admins
+ email : string
- name : string
- ic : string
- phone : string
- address : string
1 .. *
-password : string
+ login() manage
+ deleteUser()
+ updateAccount()
+ getAllUser()
+getUserByEmail()
+getUser()

1 .. *

manage

0 ..*
0 .. *
<<entity>>
<<entity>> Users
Movies
+ email : string
view - name : string
+ mID : string
- mTitle : string - ic : string
- mGenre : string - phone : string
- mRunningTime : string - address : string
1 .. * 1 - password : string
- mDirector : string
- mCast : string + login()
- mLanguange : string + add()
- mStatus : string + updateAccount()
- mReleasedate : date + getUserBy Email()
- mShowtime1 : string + getUser()
- mShowtime2 : string
- mShowtime3 : string 1
- mShowdate : string

+ getConnection()
+ save()
book
+ update()
+ delete()
+ getAllRecord() 0 ..*
+ getRecordByID()

1 .. * <entity>>
Orders
have + bookID: int
- title : string
- dateBooking : string
- showtime : string
- seatNo : string
1 .. * - quantity : int
- price : string
- email : string

+ add()
+ updateOrder()
+ getAllUserOrder()
+ getOrderByID()
+ getOrderByEmail()

You might also like