public class bus { public bus() { } //attributes private string name; private string id; private int capacity; private seat _seat; } public class seat { public seat() { } //Attributes private int seat_id; private bool seat_status; private bool seat_place;// it means that seat places besides the window or not }
Passenger
Reservation
seat_status
Is seat object consist of passenger object?
Is it necessary to have all ticket and sale and reservation objects or any one is necessary?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)