From 155916a0e34afb433e72ce94676812a50f1b0bba Mon Sep 17 00:00:00 2001 From: Sriram Kutty <skutty@cs.washington.edu> Date: Tue, 6 Feb 2024 14:57:36 -0800 Subject: [PATCH] Added new product and staff --- Products.java | 10 ++++++++++ Staff.java | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Products.java b/Products.java index 91763b3..3183b4f 100644 --- a/Products.java +++ b/Products.java @@ -98,4 +98,14 @@ public class Products { /* a good class, but not as good as cse391 */ 1.01 ); } + + public Product skuttyProduct() { + return new Product( + "Rake", + "A rake to gather leaves", + "rake.jpg", + "image of a rake", + 5959.59 + ); + } } diff --git a/Staff.java b/Staff.java index 874f89a..5e46406 100644 --- a/Staff.java +++ b/Staff.java @@ -117,4 +117,14 @@ public class Staff { "funny chicken" ); } + + public Employee skutty() { + return new Employee( + "Sriram", + "Student", + "sleeping", + "cake.jpg", + "cake" + ); + } } -- GitLab