Skip to content
Snippets Groups Projects
Commit 984101cf authored by Samantha Yang's avatar Samantha Yang
Browse files

Added employee and product

parent 87b8d78e
Branches yangsam_staff_page
No related tags found
1 merge request!69Yangsam employee and product
Pipeline #576543 passed with stage
in 2 seconds
......@@ -373,4 +373,14 @@ public class Products { /* a good class, but not as good as cse391 */
4.99
);
}
public Product yangsamProduct() {
return new Product(
"Chocolate chip cookies",
"Fresh baked cookies with milk chocolate",
"cookie.jpg",
"A golden cookie with chocolate chips",
3.99
);
}
}
......@@ -405,4 +405,13 @@ public class Staff {
);
}
public Employee yangsam() {
return new Employee(
"Samantha",
"Student",
"I'm tired",
"flower.jpg",
"Pink roses under the blue sky"
);
}
}
images/products/cookie.jpg

64.1 KiB

images/staff/flower.jpg

124 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