Use-case 0004 - Manage Guest List (Add / View Guests)
Initiating actor: Bride / Groom (Wedding owner)
Other actors: None
Description
The wedding owner manages the guest list by adding guests and viewing existing guests for a specific wedding. Guests are stored in the database and linked to the wedding.
Scenario
- The user selects a wedding.
- The system shows the guest list for the selected wedding.
SET search_path TO project; SELECT guest_id, first_name, last_name, email FROM guest WHERE wedding_id = :wedding_id ORDER BY last_name, first_name;
- The user clicks "Add Guest".
- The system displays a form: first name, last name, email.
- The user submits guest information.
- The system inserts the guest into the database.
SET search_path TO project; INSERT INTO guest(first_name, last_name, email, wedding_id) VALUES (:first_name, :last_name, :email, :wedding_id) RETURNING guest_id;
- The system refreshes and shows the updated list of guests.
Last modified
10 days ago
Last modified on 01/10/26 18:00:49
Note:
See TracWiki
for help on using the wiki.
