Changes between Initial Version and Version 1 of UseCase0008


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

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0008

    v1 v1  
     1= Use-case 0008 - Book Photographer =
     2
     3'''Initiating actor:''' Bride / Groom (Wedding owner)
     4
     5'''Other actors:''' Wedding Organizer (Assistant)
     6
     7== Description ==
     8The user reserves a photographer for the wedding day. The booking is recorded with date, time range, status and links the photographer to a wedding.
     9
     10== Scenario ==
     111. The user opens the "Photographers" section.
     122. The system lists photographers.
     13
     14{{{
     15SET search_path TO project;
     16
     17SELECT photographer_id, name, email, phone_number, price_per_hour
     18FROM photographer
     19ORDER BY name;
     20}}}
     21
     223. The user selects a photographer and clicks "Book".
     234. The system displays a booking form.
     245. The user submits booking.
     256. The system saves the booking in the database.
     26
     27{{{
     28SET search_path TO project;
     29
     30INSERT INTO photographer_booking("date", start_time, end_time, status, photographer_id, wedding_id)
     31VALUES (:date, :start_time, :end_time, :status, :photographer_id, :wedding_id)
     32RETURNING booking_id;
     33}}}
     34
     357. The system confirms booking and displays booking details.