From 7a6921a0cf2c6270169fa464cce82d0f3f71b647 Mon Sep 17 00:00:00 2001 From: Chaitanya Sekhar <cscs24@cs.washington.edu> Date: Mon, 12 Feb 2024 11:18:13 -0800 Subject: [PATCH] Added 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 03b38af..f81aa99 100644 --- a/Products.java +++ b/Products.java @@ -497,4 +497,14 @@ public class Products { /* a good class, but not as good as cse391 */ 3.99 ); } + + public Product ccsekhar20Product() { + return new Product( + "Coffee", + "Good coffee", + "coffee.jpeg", + "Picture of coffee", + 4.99 + ); + } } diff --git a/Staff.java b/Staff.java index 39ac73d..6296de3 100644 --- a/Staff.java +++ b/Staff.java @@ -528,4 +528,14 @@ public class Staff { "Picture of a dog" ); } + + public Employee ccsekhar20() { + return new Employee( + "Chaitanya", + "Student", + "On the grind", + "ocean.jpg", + "Picture of the ocean" + ); + } } -- GitLab