wiki:UseCase09PrototypeImplementation

UseCase09 - Add an Animal

Initiating actor: Client

Description

A client adds a new pet to their profile by filling in an “Add Pet” form. The client must upload a pet photo. With this the client now becomes an owner.

Scenario

  1. Client goes to his profile.

  1. Clicks the button "Add new pet".

  1. Fills in the form provided.

  1. Submits it.

SELECT * FROM user WHERE user_id = ?

SELECT * FROM owner WHERE user_id = ?

INSERT INTO owner (user_id) VALUES (?)

INSERT INTO pet (name, sex, date_of_birth, photo_url, type, species, breed, located_name, owner_id) 
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)

Last modified 18 hours ago Last modified on 02/07/26 20:04:46

Attachments (5)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.