Skip to content
Snippets Groups Projects
Commit f7199196 authored by Samuel Dylan Profit's avatar Samuel Dylan Profit
Browse files

added sprofit staff and product

parent 852f9b91
No related branches found
No related tags found
1 merge request!118added sprofit staff and product
Pipeline #576967 passed with stage
in 2 seconds
......@@ -662,6 +662,16 @@ public class Products { /* a good class, but not as good as cse391 */
"lindt.jpg",
"Picture of a lindt milk chocolate package",
2.00
);
}
public Product sprofit() {
return new Product(
"Baseball Glove",
"Premium leather baseball glove",
"BaseballGlove.jpeg",
"Picture of a Rawlings baseball glove",
399.99
);
}
}
......@@ -692,5 +692,15 @@ public class Staff {
"picture of a coffee"
);
}
public Employee sprofit() {
return new Employee(
"Sam",
"Student",
"EE Student",
"TimLIncecum.jpeg",
"Picture of my favorite pitcher"
);
}
}
images/products/BaseballGlove.jpeg

6.22 KiB

images/staff/TimLIncecum.jpeg

18.2 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