Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
faang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CSE 391
24wi
faang
Commits
4c571d34
Commit
4c571d34
authored
1 year ago
by
iandelong
Browse files
Options
Downloads
Patches
Plain Diff
feat: added new product and staff member
parent
ffc1f725
No related branches found
Branches containing commit
No related tags found
1 merge request
!4
feat: added new product and staff member
Pipeline
#576026
failed
1 year ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Products.java
+10
-0
10 additions, 0 deletions
Products.java
Staff.java
+10
-0
10 additions, 0 deletions
Staff.java
images/products/pasta.jpg
+0
-0
0 additions, 0 deletions
images/products/pasta.jpg
images/staff/alpaca.jpg
+0
-0
0 additions, 0 deletions
images/staff/alpaca.jpg
with
20 additions
and
0 deletions
Products.java
+
10
−
0
View file @
4c571d34
...
@@ -19,4 +19,14 @@ public class Products { /* a good class, but not as good as cse391 */
...
@@ -19,4 +19,14 @@ public class Products { /* a good class, but not as good as cse391 */
0.0
0.0
);
);
}
}
public
Product
iansProduct
()
{
return
new
Product
(
"Pasta"
,
"Very nutritious"
,
"pasta.jpg"
,
"Bowl of pasta"
,
100.0
);
}
}
}
This diff is collapsed.
Click to expand it.
Staff.java
+
10
−
0
View file @
4c571d34
...
@@ -29,4 +29,14 @@ public class Staff {
...
@@ -29,4 +29,14 @@ public class Staff {
"My favorite plushie void the demodog chillin on the floor"
"My favorite plushie void the demodog chillin on the floor"
);
);
}
}
public
Employee
idelong
()
{
return
new
Employee
(
"Ian"
,
"Bug Creator"
,
"Makes lots of bugs"
,
"alpaca.jpg"
,
"Alpaca with dandelion hair"
);
}
}
}
This diff is collapsed.
Click to expand it.
images/products/pasta.jpg
0 → 100644
+
0
−
0
View file @
4c571d34
35.2 KiB
This diff is collapsed.
Click to expand it.
images/staff/alpaca.jpg
0 → 100644
+
0
−
0
View file @
4c571d34
50.4 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment