From 870fb7a7b2faeb9e7e4a99d08d14da61e7b7ad4f Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 2 Dec 2019 10:55:46 -0500 Subject: Fix Steps as array in recipe --- recipeBuddy/src/app/DataModels/step.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipeBuddy/src/app/DataModels/step.ts (limited to 'recipeBuddy/src/app/DataModels/step.ts') diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts new file mode 100644 index 0000000..674a6df --- /dev/null +++ b/recipeBuddy/src/app/DataModels/step.ts @@ -0,0 +1,18 @@ +export class Steps { + private instruction: string; + private timer: number; + + public contructor(instruction: string, timer: number) { + this.instruction = instruction; + this.timer = timer; + } + + public getInstruction(): string { + return this.instruction; + } + + public getTimer(): number { + return this.timer; + } + +} -- cgit v1.1