use case diagram
Overview of use case diagram: This use case diagram shows the relationship between the main use cases in the ATM system, and the relationship between use cases and participants. Customers can choose deposit, withdrawal, balance inquiry, transfer, password change and other services. ATM technicians can perform maintenance and repairs on ATMs .
Participant description: ( 1 ) Client: Use ATM for business operations, including balance inquiry, deposit, withdrawal, transfer and password change.
( 2 ) ATM Technician: Regularly maintain and repair the ATM .
( 3 ) Bank: Provide customers with bank accounts and business operations.
Detailed description of the use case
1.
Use Case Name: Deposit
Description: Deposit a certain amount of cash into a bank account
Participants: Customers
Extended: The use case that this use case can be extended to is ATM transaction
Preconditions: ( 1 ) The customer has inserted the bank card
( 2 ) The password entered by the customer is correct
Details: ( 1 ) The customer inserts the bank card and enters the correct password
(2) Customers choose deposit business
(3) Customers place cash
(4) The system performs deposit operations
Post-conditions: ( 1 ) Customers deposit cash
( 2 ) Account balance update
Exception: ( 1 ) Customer has no card inserted
( 2 ) The customer inserts the card, but the password is entered incorrectly
( 3 ) If the customer password is entered incorrectly more than three times, the card will be swallowed
( 4 ) The cash brought by the customer does not conform to what the ATM machine can read, or the cash is counterfeit
Restrictions: ( 1 ) The cash deposited must be one hundred yuan banknotes
( 2 ) Cash cannot be counterfeit banknotes
2.
use case name: maintenance
Brief description: ATM technicians perform maintenance operations on ATM machines (including checking cash inventory and printing paper, patrolling, and reporting faults)
Participants: ATM Technicians, Banks
Preconditions: ( 1 ) The ATM machine is not abnormal
( 2 ) Insufficient ATM cash or printing paper
Details: ( 1 ) ATM technician opens ATM machine
( 2 ) ATM technicians fill in cash, ink, printing paper
( 3 ) ATM technicians upgrade the software and hardware of the ATM system
( 4 ) ATM machine maintenance is over
Post-condition: The ATM technician 's maintenance work on the ATM machine is over, and the ATM can continue to work normally
Exception: ( 1 ) ATM machine cannot be opened
( 2 ) The cash slot of the ATM machine is damaged
( 3 ) ATM machines cannot be upgraded with hardware and software
Restrictions: ( 1 ) The printing paper must meet the specifications
( 2 ) The face value of cash should be rich
Note: Maintenance work is done before the ATM fails and is done every day