From 5fc0371f5fc0215f48b9f27ac216a359da6997e9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 25 Nov 2019 10:07:30 -0500 Subject: Added data models. --- recipeBuddy/src/app/DataModels/steps.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipeBuddy/src/app/DataModels/steps.ts (limited to 'recipeBuddy/src/app/DataModels/steps.ts') 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; + } + +} -- cgit v1.1