Changes between Initial Version and Version 1 of UseCase0006


Ignore:
Timestamp:
08/29/26 19:11:44 (8 days ago)
Author:
236024
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0006

    v1 v1  
     1= UC0006 - Submit Application =
     2
     3'''Initiating actor:''' Student
     4
     5A Student submits an application for an event participation process. The scenario stores a new student and their Hackathon participation application.
     6
     7== Scenario ==
     8
     91. The Student opens the Hackathon participation application form.
     10
     112. The application lists event editions that accept participation applications.
     12
     13{{{#!sql
     14SELECT
     15    ee.et_name,
     16    ee.event_title,
     17    ee.event_start_time,
     18    ee.event_end_time
     19FROM event_editions ee
     20WHERE ee.et_name IN ('Hackathon', 'BEST Course in Summer')
     21ORDER BY ee.event_start_time;
     22}}}
     23
     243. The Student enters personal data and chooses Impact Hackathon 2026.
     25
     264. The application stores the student data.
     27
     28{{{#!sql
     29INSERT INTO students (
     30    student_index,
     31    first_name,
     32    last_name,
     33    faculty,
     34    field_of_studies,
     35    year_of_studies,
     36    birthday,
     37    email,
     38    phone_number
     39)
     40VALUES (
     41    230033,
     42    'Martina',
     43    'Ilievska',
     44    'FINKI',
     45    'Software Engineering and Information Systems',
     46    2,
     47    DATE '2004-10-12',
     48    'martina.ilievska@student.ukim.mk',
     49    '+38970111033'
     50);
     51}}}
     52
     535. The Student enters a motivational letter.
     54
     556. The application stores the submitted application.
     56
     57{{{#!sql
     58INSERT INTO applications (
     59    student_index,
     60    et_name,
     61    event_title,
     62    event_start_time,
     63    function_name,
     64    motivational_letter,
     65    application_type,
     66    application_status
     67)
     68VALUES (
     69    230033,
     70    'Hackathon',
     71    'Impact Hackathon 2026',
     72    TIMESTAMP '2026-12-12 09:00:00',
     73    NULL,
     74    'I want to participate in the hackathon because I want to solve a real challenge with a team and improve my practical skills.',
     75    'event_participation',
     76    'submitted'
     77);
     78}}}
     79
     807. The application shows the submitted application.
     81
     82{{{#!sql
     83SELECT
     84    a.application_id,
     85    s.first_name,
     86    s.last_name,
     87    a.et_name,
     88    a.event_title,
     89    a.function_name,
     90    a.application_type,
     91    a.application_status
     92FROM applications a
     93JOIN students s
     94    ON s.student_index = a.student_index
     95WHERE s.email = 'martina.ilievska@student.ukim.mk'
     96  AND a.et_name = 'Hackathon'
     97  AND a.event_title = 'Impact Hackathon 2026'
     98  AND a.event_start_time = TIMESTAMP '2026-12-12 09:00:00';
     99}}}