From a95b01ffce0b4896f0f1940eb95bab47cca6e127 Mon Sep 17 00:00:00 2001 From: Chaitanya Sekhar <cscs24@cs.washington.edu> Date: Mon, 12 Feb 2024 14:24:23 -0800 Subject: [PATCH] New bio to staff page and product to products page --- Products.java | 10 ++++++++++ Staff.java | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Products.java b/Products.java index 4c6bcfe..952cd0f 100644 --- a/Products.java +++ b/Products.java @@ -536,4 +536,14 @@ public class Products { /* a good class, but not as good as cse391 */ 5.99 ); } + + public Product cscs24Product() { + return new Product( + "Coffee", + "Good coffee", + "coffee.jpeg", + "Picture of coffee", + 4.99 + ); + } } diff --git a/Staff.java b/Staff.java index 1afe97c..9bf3baa 100644 --- a/Staff.java +++ b/Staff.java @@ -558,4 +558,14 @@ public class Staff { "Picture of women playing volleyball" ); } + + public Employee cscs24() { + return new Employee( + "Chaitanya", + "Student", + "On the grind", + "ocean.jpg", + "Picture of the ocean" + ); + } } -- GitLab