wiki:UseCase05PrototypeImplementation

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())
    

Last modified 17 hours ago Last modified on 02/07/26 21:03:39

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.