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

Merge branch 'sprofit_staff_page' into 'main'

added sprofit staff and product

See merge request !118
parents ae696c97 f7199196
No related branches found
No related tags found
1 merge request!118added sprofit staff and product
Pipeline #576971 passed with stages
in 2 minutes and 2 seconds
......@@ -672,6 +672,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
);
}
}
......@@ -702,5 +702,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