Skip to content
Snippets Groups Projects
Commit eca0d68e authored by Tanjal Shukla's avatar Tanjal Shukla
Browse files

Merge branch 'main' into 'tshukl_staff_page'

# Conflicts:
#   Products.java
parents c43b63a3 fe47a06b
No related branches found
No related tags found
1 merge request!22Added staff, product
Pipeline #576119 passed
......@@ -120,6 +120,26 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public Product keshavsProduct() {
return new Product(
"Dirt",
"Great for plants!",
"dirt.jpg",
"image of the product",
4.67
);
}
public Product dhvbnlProduct() {
return new Product (
"proteen",
"gets you jacked",
"proteen.jpg",
"image of proteen powder",
9.99
);
}
public Product yixuan19Product(){
return new Product (
"Goomba",
......@@ -129,6 +149,7 @@ public class Products { /* a good class, but not as good as cse391 */
114514.0
);
}
public Product swangsamProduct(){
return new Product(
"Pullup Bar",
......
......@@ -138,6 +138,28 @@ public class Staff {
);
}
public Employee kesach() {
return new Employee(
"Keshav",
"Procrastinator",
"I'm hungry",
"keshav.jpg",
"a swig of chai"
);
}
public Employee dhvbnl() {
return new Employee (
"Dhruv",
"tech student",
"breaking things that work, making things that break",
"dhvbnl.jpg",
"pillow representing dhruv"
);
}
public Employee yixuan19() {
return new Employee (
"Yixuan",
......
images/products/dirt.jpg

18.4 KiB

images/products/proteen.jpg

62 KiB

images/staff/dhvbnl.jpg

1.35 MiB

images/staff/keshav.jpg

4.01 MiB

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