summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/steps.ts
diff options
context:
space:
mode:
authorunknown <schencej@clarkson.edu>2019-11-25 10:07:30 -0500
committerunknown <schencej@clarkson.edu>2019-11-25 10:07:30 -0500
commit5fc0371f5fc0215f48b9f27ac216a359da6997e9 (patch)
tree887c10117ff0a6ba79f6d4bda0cb815d8dfcd5a2 /recipeBuddy/src/app/DataModels/steps.ts
parent445816bc374be098156b33e2c7051091f391786f (diff)
Added data models.
Diffstat (limited to 'recipeBuddy/src/app/DataModels/steps.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/steps.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/DataModels/steps.ts b/recipeBuddy/src/app/DataModels/steps.ts
new file mode 100644
index 0000000..9061dc2
--- /dev/null
+++ b/recipeBuddy/src/app/DataModels/steps.ts
@@ -0,0 +1,18 @@
+export class Steps {
+ private instructions: string[];
+ private timers: number[];
+
+ public contructor(instructions: string[], timers: number[]) {
+ this.instructions = instructions;
+ this.timers = timers;
+ }
+
+ public getInstructions(): string[] {
+ return this.instructions;
+ }
+
+ public getTimers(): number[] {
+ return this.timers;
+ }
+
+}