In this Markdown file in I will be going over the Small hardware store project. A project, which needs a graphical user interface to keep track of items in the inventory of the store, and to keep track of the employees and customers.
- Ryan Franklin
- Tory Brewer
- hardwarestore
- Appliances.java
- Customer.java
- Employee.java
- HardwareStore.java
- Item.java
- User.java
- Transaction.java
- SmallHardwareItems.java
- Main.java
- cd to dir above hardwarestore folder
- javac hardwarestore\*.java
- cd to hardwarestore folder
- java Main
UML diagram using Mermaid.
sequenceDiagram
participant Emplolyee
participant interface
participant HardwareStore
participant transaction
Emplolyee ->> interface: 1. enters item id
interface ->> HardwareStore: 2. DNE: add item
Emplolyee ->> interface: 3. enters sale quantity
Note right of Emplolyee: Loop until valid<br/>input.
Emplolyee ->> interface: 4. enters employee ID#
interface ->> HardwareStore: 5. DNE: add employee user
Emplolyee ->> interface: 6. enters user ID
interface ->> HardwareStore: 7. DNE: add customer user
Emplolyee ->> interface: 8. valid transaction
interface ->> HardwareStore: 9. transact
HardwareStore ->> transaction: new Transaction
Note right of HardwareStore: Finished a valid<br/>transaction, so on<br/>to the next<br/> transaction.