Skip to content
Snippets Groups Projects
Commit fe47a06b authored by Keshav Acharya's avatar Keshav Acharya
Browse files

Merge branch 'kesach_staff_page' into 'main'

keshav staff page and product

See merge request !21
parents 5be67acd 3581d02d
No related branches found
No related tags found
1 merge request!21keshav staff page and product
Pipeline #576118 passed
......@@ -110,6 +110,16 @@ 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",
......@@ -120,6 +130,7 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public Product yixuan19Product(){
return new Product (
"Goomba",
......
......@@ -128,6 +128,18 @@ 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",
......@@ -138,6 +150,7 @@ public class Staff {
);
}
public Employee yixuan19() {
return new Employee (
"Yixuan",
......
images/products/dirt.jpg

18.4 KiB

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