Skip to content
Snippets Groups Projects
Commit 3c9642b1 authored by Mariana Shuman's avatar Mariana Shuman
Browse files

Merge branch 'main' into 'mshuma_staff_page'

# Conflicts:
#   Products.java
#   Staff.java
parents fd7cac5d 411f6e61
Branches mshuma_staff_page
No related tags found
2 merge requests!169Add Employee and Product Object,!156Main
Pipeline #577239 passed with stage
in 2 seconds
Showing with 144 additions and 1 deletion
...@@ -13,6 +13,16 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -13,6 +13,16 @@ public class Products { /* a good class, but not as good as cse391 */
public Product smayanProduct() {
return new Product(
"Dollar Bill",
"one dollar in cash",
"dollar_bill.jpg",
"Image of a one-dollar bill",
1.00
);
}
public Product benoreProduct() { public Product benoreProduct() {
return new Product( return new Product(
"Taylor Swift - Folklore Vinyl", "Taylor Swift - Folklore Vinyl",
...@@ -23,7 +33,27 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -23,7 +33,27 @@ public class Products { /* a good class, but not as good as cse391 */
); );
} }
public Product ekimji1Product() {
return new Product(
"Gudetama",
"perfect",
"gudetama.jpg",
"Lazy egg",
1000.0
);
}
public Product bohanz04Product() {
return new Product(
"CSE351 hw problem",
"A confusing problem faced",
"test2.jpg",
"image of that problem",
1.00
);
}
public Product kevinh33Product() { public Product kevinh33Product() {
return new Product( return new Product(
"Duolingo owl", "Duolingo owl",
...@@ -788,6 +818,17 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -788,6 +818,17 @@ public class Products { /* a good class, but not as good as cse391 */
); );
} }
public Product wgong2Product() {
return new Product(
"Robot Cat",
"Robotic Cat, your ideal pet!",
"360_F_555938384_8LsT1k41T4hnSNeSI0ahqYt9Ug03bJkW.jpg",
"A cat, that's a robot",
12345
);
}
public Product pranavntProduct() { public Product pranavntProduct() {
return new Product( return new Product(
"Celsius Essentials 1000 pack", "Celsius Essentials 1000 pack",
...@@ -797,6 +838,7 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -797,6 +838,7 @@ public class Products { /* a good class, but not as good as cse391 */
1000.0 1000.0
); );
} }
public Product mshumaProduct() { public Product mshumaProduct() {
return new Product( return new Product(
"Violin Mutes 100 pack", "Violin Mutes 100 pack",
...@@ -804,6 +846,36 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -804,6 +846,36 @@ public class Products { /* a good class, but not as good as cse391 */
"violin-picture.jpeg", "violin-picture.jpeg",
"Violin Mutes", "Violin Mutes",
100.0 100.0
);
}
public Product aagateProduct() {
return new Product(
"Meta quest",
"a virtual reality headset",
"metaquest.jpg",
"A meta quest 3 on Amazon",
9.00
);
}
public Product acuraIntegra() {
return new Product (
"Acura Integra",
"Acura Integra",
"acura.jpg",
"Acura Integra",
52400
);
}
public Product shangy24Product() {
return new Product(
"Windows 10 Pro",
"An operating system made by Microsoft",
"win10.jpg",
"Windows 10 Default Wallpaper",
199.99
); );
} }
} }
public class Staff { public class Staff {
public Employee smayan(){
return new Employee(
"Smayan Nirantare",
"CS Student",
"I'm hungry",
"travis_scott.jpg",
"Travis Scott"
);
}
public Employee boschen() { public Employee boschen() {
return new Employee( return new Employee(
"Boshan Chen", "Boshan Chen",
...@@ -9,7 +21,15 @@ public class Staff { ...@@ -9,7 +21,15 @@ public class Staff {
"umm.." "umm.."
); );
} }
public Employee ekimji() {
return new Employee(
"Esther",
"student",
"local point demon",
"gudetama.jpg",
"gudetama with balloon"
);
}
public Employee benore() { public Employee benore() {
return new Employee("Ben", return new Employee("Ben",
...@@ -20,6 +40,16 @@ public class Staff { ...@@ -20,6 +40,16 @@ public class Staff {
} }
public Employee bohanz04() {
return new Employee(
"Bryan Zhao",
"Student",
"abcdefg stuff",
"test1.jpg",
"hope to get internship"
);
}
public Employee cuperido() { public Employee cuperido() {
return new Employee( return new Employee(
"Young You", "Young You",
...@@ -808,6 +838,18 @@ public class Staff { ...@@ -808,6 +838,18 @@ public class Staff {
"Norman Rockwell Self-Portrait" "Norman Rockwell Self-Portrait"
); );
} }
public Employee wgong21() {
return new Employee(
"William",
"Student",
"want to minor in history",
"paradox-interactive.jpg",
"Paradox Interactive Logo"
);
}
public Employee pranavnt() { public Employee pranavnt() {
return new Employee( return new Employee(
"Pranav", "Pranav",
...@@ -826,5 +868,34 @@ public class Staff { ...@@ -826,5 +868,34 @@ public class Staff {
"violin picture" "violin picture"
); );
} }
public Employee aagate() {
return new Employee(
"Arohan",
"Student",
"doing homework",
"sloth.jpg",
"picture of a sloth"
);
}
public Employee kristong() {
return new Employee (
"Kris",
"Student",
"Hello",
"boy.jp",
"🙏"
);
}
public Employee shangy24() {
return new Employee(
"Shangzhen Yang",
"Student",
"Hello, World!",
"your-name.jpg",
"Wallpaper of Movie Your Name"
);
}
} }
images/products/acura.jpg

174 KiB

images/products/chocolate_ice_cream.jpg

11.6 KiB

images/products/dollar_bill.jpg

213 KiB

images/products/gudetama.jpg

67.1 KiB

images/products/metaquest.jpg

31.4 KiB

images/products/test2.jpg

218 KiB

images/products/win10.jpg

221 KiB

images/staff/360_F_555938384_8LsT1k41T4hnSNeSI0ahqYt9Ug03bJkW.jpg

56.6 KiB

images/staff/boy.jpg

24.9 KiB

images/staff/paradox-interactive.jpg

28.3 KiB

images/staff/sloth.jpg

48.4 KiB

images/staff/test1.jpg

218 KiB

images/staff/travis_scott.jpg

9.26 KiB

images/staff/your-name.jpg

672 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