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

Airticket Reservation Uml Diagram: Flight

This UML diagram models an airline reservation system with classes for Airline, Customer, Airplane, Flight, Seats, and Tickets. The Airline class stores address and description information. The Customer class stores customer details like name, address, email. The Airplane class has flights and seats. The Flight class connects an airplane to customers through tickets. Seats have details like section and number of seats. Tickets link customers to specific flights and seats.

Uploaded by

salman mughal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views

Airticket Reservation Uml Diagram: Flight

This UML diagram models an airline reservation system with classes for Airline, Customer, Airplane, Flight, Seats, and Tickets. The Airline class stores address and description information. The Customer class stores customer details like name, address, email. The Airplane class has flights and seats. The Flight class connects an airplane to customers through tickets. Seats have details like section and number of seats. Tickets link customers to specific flights and seats.

Uploaded by

salman mughal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AirTicket Reservation

UML Diagram

AirLine Customer

+ description: String
+ address: String 1..* - name: String
1..1 - address: String
- email: String
+ setDescription(String): void 1..1 - reservation: boolean
+ getDescription(): String - seatNo: int
AirPlane + setAddress(String): void
1..* + getAddress(): String
+ showAvailableSeats(int): void
+ numberOfSeats: int + Listofreservation(String): void + setName(String): void
+ getName(): String
+ setAddress(String): void
1..1 + getAddress(): String
+ passenger(): void + setEmail(String): void
+ from(): void 1..* + getEmail(): String
+ to(): void + setReservation(boolean): void
+ getReservation(): boolean
Flight + setSeatNo(int): void
+ getSeatNi(): int
1..* + chechAvailability(boolean): void
has - flightNumber : String + getTicket(): String
-
-memberName
1..*

Seats
1..*
- totalSeats: int
- showReserveSeats : int
- seaction: String Tickets

+ setTotalSeats(int): void 1..* + seatNo: int


+ getTotalSeats(): int + ticketNo: int
+ setSection(String): void + fron: String
+ getSection(): String has + to: String

+ setSeatNo(int): void
+ getSeatNo(): int
+ setTicketNo(int):Void
+ getTicketNo(): int
+ setFron(String): void
Business + getFrom(): String
Economy + setTO(String): void
+ getTO(): String
- totalSeats: int - totalSeats: int
- reservations: int - reservations: int
- availability: int - availability: int

+ setTotalSeats(int): void + setTotalSeats(int): void


+ getTotalSeats(): int + getTotalSeats(): int
+ setReservation(int): void + setReservation(int): void
+ getReserbation(): int + getReserbation(): int
+ setAvailability(int): void + setAvailability(int): void
+ getAvailability(): int + getAvailability(): int

You might also like