PDA

View Full Version : UML Class Diagram Question


taylorgre
Feb 9, 2017, 07:31 AM
Doing a UML Class Diagram for a vending machine. Here is example of one:
Why would location be using int instead of String? And currentStatus: enum be used instead of String?




VENDING MACHINE


- location: int
- id: int
- row: int
- col: int
- slot: int
- currentStatus: enum