summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredients.ts
blob: 6f96e696d68cd6ede7c52f33738b7efe7b61658a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export class Ingredients {
	private names: string[];
	private amounts: number[];
	private units: string[];
	private types: string[];

	public constructor(names: string[], amounts: number[], units: string[], types: string[]) {
		this.names = names;
		this.amounts = amounts;
		this.units = units;
		this.types = types;
	}

	public getNames(): string[] {
		return this.names;
	}

	public getAmounts(): number[] {
		return this.amounts;
	}

	public getUnits(): string[] {
		return this.units;
	}

	public getTypes(): string[] {
		return this.types;
	}
}