How dhanush-143-kk/restaurantmanagementsystem works
This is a console-based restaurant management application. A user interacts through the menu in app/Main.java; the application delegates restaurant operations to RestaurantService, which manages in-memory menu, customer, and employee arrays and coordinates ordering. Orders progress from item selection through bill calculation and status updates. The model also represents customer loyalty discounts and employee/chef roles. The tree and sampled source show no persistent database or external integrations; the README is empty.
Main entry points: RestaurantService.java Restaurant service · Order.java Order and billing · Main.java Console menu · Customer.java Customer
Components 11
Console interface
- Console menu
app/Main.java
Restaurant operations
- Restaurant service
service/RestaurantService.java
Domain model
- Person base
model/Person.java - Customer
model/Customer.java - Employee
model/Employee.java - Chef
model/Chef.java - Menu item
model/MenuItem.java - Order and billing
model/Order.java - Payable contract
model/Payable.java - Order status
model/OrderStatus.java
Other components
- User
Connections 15
- User → Console menu: selects options
- Console menu → Restaurant service: requests operations
- Restaurant service → Menu item: creates and reads
- Restaurant service → Customer: stores and looks up
- Restaurant service → Chef: seeds employee
- Restaurant service → Order and billing: creates and updates
- Order and billing → Menu item: reads prices and availability
- Order and billing → Customer: reads loyalty points
- Order and billing → Order status: sets status
- Order and billing → Payable contract: implements
- Customer → Person base: extends
- Employee → Person base: extends
- Chef → Employee: extends
- Console menu → Person base: reads person count
- Console menu → Restaurant service: requests staff display