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

Merge branch 'tshukl_staff_page' into 'main'

Added staff, product

See merge request !22
parents fe47a06b eca0d68e
No related branches found
No related tags found
1 merge request!22Added staff, product
Pipeline #576120 passed with stages
in 1 minute and 50 seconds
......@@ -110,6 +110,16 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public Product tanjalsProduct() {
return new Product(
"Creatine",
"Big muscle",
"creatine.jpg",
"Number 1 lifting supplement",
39.95
);
}
public Product keshavsProduct() {
return new Product(
"Dirt",
......@@ -130,7 +140,6 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public Product yixuan19Product(){
return new Product (
"Goomba",
......@@ -140,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",
......
......@@ -128,6 +128,15 @@ public class Staff {
);
}
public Employee tshukl() {
return new Employee(
"Tanjal",
"Student",
"Cries",
"redpanda.jpg",
"A special panda"
);
}
public Employee kesach() {
return new Employee(
......
images/products/creatine.jpg

249 KiB

images/staff/redpanda.jpg

94.7 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