| Story #1: |
The bank representative is allowed to create two types of accounts: Checking and Saving. |
| Actor: |
Bank representative |
| Business rules: |
- The user create checking account with a specific account number
- The user create saving account with a specific account number
- The system make sure that the balance of new bank account is set to 0.00$.
|
Example:
Creation of accounts
| Do With |
Bank |
| Open |
checking |
account |
12345-67890 |
under the name of |
Fred |
|
Flintstone |
| Open |
savings |
account |
12345-99999 |
under the name of |
Wilma |
|
Flintstone |
| Open |
checking |
account |
11112-59595 |
under the name of |
Barney |
|
Rubble |
Check if the account exist
| Set of |
opened accounts |
| Number |
| 12345-67890 |
| 12345-99999 |
| 11112-59595 |
Check the kind of account with their owner and balance
| Set of |
opened accounts |
| Number |
Type |
Owner Name |
Balance |
| 12345-67890 |
checking |
Fred Flintstone |
$0.00 |
| 12345-99999 |
savings |
Wilma Flintstone |
$0.00 |
Check if a particular subset of accounts exist
| Subset of |
opened accounts |
| Number |
| 12345-99999 |
Notice that if one of the specified accounts doesn't exist, it is noted missing in the result table.