Skip to content
Snippets Groups Projects
Commit 83e3e381 authored by Lirong Que's avatar Lirong Que
Browse files

Added staff and product

parent e2b1462d
No related branches found
No related tags found
1 merge request!36Merge branch "lq22_staff_page" into "main"
Pipeline #576178 passed with stage
in 2 seconds
......@@ -210,4 +210,14 @@ public class Products { /* a good class, but not as good as cse391 */
15.50
);
}
public Product lq22Product() {
return new Product(
"Large Fries",
"Delicious McDonald's Fries!",
"largeFries.jpg",
"A pack of large size McDonald's Fries",
4.99
);
}
}
......@@ -229,4 +229,15 @@ public class Staff {
"Brown-haired girl slumped over a desk"
);
}
public Employee lq22() {
return new Employee(
"Audrey",
"Student",
"Want to sleep",
"sleeping.jpg",
"A grey cat tring to sleep on the bed"
);
}
}
images/products/largeFries.jpg

479 KiB

images/staff/sleeping.jpg

13.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment