Changes between Initial Version and Version 1 of UseCase0005


Ignore:
Timestamp:
01/10/26 18:01:09 (10 days ago)
Author:
193284
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0005

    v1 v1  
     1= Use-case 0005 - Create Wedding Events =
     2
     3'''Initiating actor:''' Bride / Groom (Wedding owner)
     4
     5'''Other actors:''' Wedding Organizer (Assistant)
     6
     7== Description ==
     8The user creates schedule events for the wedding, such as a church ceremony, reception or party. Each event belongs to a wedding and contains date/time information and status.
     9
     10== Scenario ==
     111. The user opens the wedding timeline/events section.
     122. The system lists existing events for the wedding.
     13
     14{{{
     15SET search_path TO project;
     16
     17SELECT event_id, event_type, "date", start_time, end_time, status
     18FROM event
     19WHERE wedding_id = :wedding_id
     20ORDER BY "date", start_time;
     21}}}
     22
     233. The user selects "Add Event".
     244. The system displays a form: event_type, date, start_time, end_time, status.
     255. The user submits event data.
     266. The system inserts the event into the database.
     27
     28{{{
     29SET search_path TO project;
     30
     31INSERT INTO event(event_type, "date", start_time, end_time, status, wedding_id)
     32VALUES (:event_type, :date, :start_time, :end_time, :status, :wedding_id)
     33RETURNING event_id;
     34}}}
     35
     367. The system confirms and shows the event list updated.