From 1457ad1e5e28b2dbb83851cabb03562f6841c0f9 Mon Sep 17 00:00:00 2001 From: linnn-7 Date: Wed, 6 Mar 2024 22:37:21 +0800 Subject: [PATCH] Update use cases --- docs/DeveloperGuide.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index a0d9efaf1c5..1d36f923475 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -333,6 +333,23 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. +**Use case: Edit an employee** + +**MSS** + +1. User requests to edit an employee's information +2. User enters the employee's ID and fields that need to be updated +3. PayBack changes the employee's information accordingly + + Use case ends. + +**Extensions** + +* 2a. The ID is invalid. + * 2a1. PayBack shows an error message. + + Use case resumes at Step 2. + ### Non-Functional Requirements 1. Should work on any _mainstream OS_ as long as it has Java `11` or above installed.