wiki:UseCase05PrototypeImplementation

Version 4 (modified by 231035, 17 hours ago) ( diff )

--

UseCase05 - Create a Listing

Initiating actor: Owner

Description

An owner creates a listing for an animal they own. After creation, the system shows the created listing.

Scenario

  1. Owner opens "My Animals" page.

SELECT * FROM pet WHERE owner_id = ?
  1. Clicks on the "Create Listing" button.

  1. Owner enters listing information and submits it.

  1. System creates the lisitng.
    SELECT * FROM owner WHERE user_id = ?
    
    INSERT INTO listing (owner_id, animal_id, description, price, status, created_at) 
    VALUES (?, ?, ?, ?, 'ACTIVE', NOW())
    

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.