Changes between Initial Version and Version 1 of UseCase0005


Ignore:
Timestamp:
08/29/26 18:56:43 (8 days ago)
Author:
236024
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0005

    v1 v1  
     1= UC0005 - Create Event Edition and Programme =
     2
     3'''Initiating actor:''' Board Member
     4
     5A Board Member creates an event edition and defines its main data. The scenario creates Job Fair 2027 with locations, function slots, and programme sessions.
     6
     7== Scenario ==
     8
     91. The Board Member opens the event administration page.
     10
     112. The application lists event types.
     12
     13{{{#!sql
     14SELECT
     15    et_name,
     16    et_description
     17FROM event_types
     18ORDER BY et_name;
     19}}}
     20
     213. The Board Member enters the event edition data.
     22
     234. The application stores the event edition.
     24
     25{{{#!sql
     26INSERT INTO event_editions (
     27    et_name,
     28    event_title,
     29    event_start_time,
     30    event_end_time
     31)
     32VALUES (
     33    'Job Fair',
     34    'Job Fair 2027',
     35    TIMESTAMP '2027-03-22 09:00:00',
     36    TIMESTAMP '2027-03-26 18:00:00'
     37);
     38}}}
     39
     405. The Board Member enters the event locations.
     41
     426. The application stores the event locations.
     43
     44{{{#!sql
     45INSERT INTO event_edition_locations (
     46    et_name,
     47    event_title,
     48    event_start_time,
     49    location
     50)
     51VALUES
     52    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'INNOFEIT'),
     53    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'FEEIT'),
     54    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'MFS');
     55}}}
     56
     577. The Board Member enters the planned event function slots.
     58
     598. The application stores the event function slots.
     60
     61{{{#!sql
     62INSERT INTO core_team_functions (
     63    et_name,
     64    event_title,
     65    event_start_time,
     66    function_name
     67)
     68VALUES
     69    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Main Organiser 1'),
     70    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Main Organiser 2'),
     71    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Corporate Relations Responsible 1'),
     72    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Corporate Relations Responsible 2'),
     73    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Logistics Responsible'),
     74    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'PR Responsible'),
     75    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'FR Responsible'),
     76    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'IT Responsible'),
     77    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00', 'Design Responsible');
     78}}}
     79
     809. The Board Member enters programme sessions.
     81
     8210. The application stores the programme sessions.
     83
     84{{{#!sql
     85INSERT INTO event_sessions (
     86    et_name,
     87    event_title,
     88    event_start_time,
     89    est_name,
     90    es_start_time,
     91    location,
     92    es_title
     93)
     94VALUES
     95    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00',
     96     'Official Opening', TIMESTAMP '2027-03-22 10:00:00', 'INNOFEIT', 'Job Fair Opening Ceremony'),
     97    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00',
     98     'Company Stands', TIMESTAMP '2027-03-23 10:00:00', 'FEEIT', 'Technical Companies Stands'),
     99    ('Job Fair', 'Job Fair 2027', TIMESTAMP '2027-03-22 09:00:00',
     100     'Company Stands', TIMESTAMP '2027-03-23 10:00:00', 'MFS', 'Engineering Companies Stands');
     101}}}
     102
     10311. The application shows the programme for Job Fair 2027.
     104
     105{{{#!sql
     106SELECT
     107    es.est_name,
     108    es.es_start_time,
     109    es.location,
     110    es.es_title
     111FROM event_sessions es
     112WHERE es.et_name = 'Job Fair'
     113  AND es.event_title = 'Job Fair 2027'
     114  AND es.event_start_time = TIMESTAMP '2027-03-22 09:00:00'
     115ORDER BY es.es_start_time, es.location, es.est_name;
     116}}}
     117
     11812. The application shows the function slots for Job Fair 2027.
     119
     120{{{#!sql
     121SELECT
     122    ctf.function_name
     123FROM core_team_functions ctf
     124WHERE ctf.et_name = 'Job Fair'
     125  AND ctf.event_title = 'Job Fair 2027'
     126  AND ctf.event_start_time = TIMESTAMP '2027-03-22 09:00:00'
     127ORDER BY ctf.function_name;
     128}}}