Diets Management
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3dee4a4dd4
commit
31e7ed6bda
@ -0,0 +1,9 @@
|
|||||||
|
export enum IngredientClass {
|
||||||
|
DairyFree = 'DAIRY_FREE',
|
||||||
|
GlutenFree = 'GLUTEN_FREE',
|
||||||
|
Porcless = 'PORCLESS',
|
||||||
|
Vegan = 'VEGAN',
|
||||||
|
Vegetarian = 'VEGETARIAN',
|
||||||
|
Pescatarian = 'PESCATARIAN',
|
||||||
|
None = 'NONE'
|
||||||
|
}
|
@ -1,30 +0,0 @@
|
|||||||
export default class Profil {
|
|
||||||
private _name: string;
|
|
||||||
private _avatar: string;
|
|
||||||
private _allergy: string[];
|
|
||||||
private _diets: string[];
|
|
||||||
|
|
||||||
constructor( name: string, avatar: string, allergy: string[], diets: string[]) {
|
|
||||||
this._name = name;
|
|
||||||
this._avatar = avatar;
|
|
||||||
this._allergy = allergy;
|
|
||||||
this._diets = diets;
|
|
||||||
}
|
|
||||||
|
|
||||||
get name(): string {
|
|
||||||
return this._name;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
get avatar(): string{
|
|
||||||
return this._avatar;
|
|
||||||
}
|
|
||||||
|
|
||||||
get allergy(): string[]{
|
|
||||||
return this._allergy;
|
|
||||||
}
|
|
||||||
|
|
||||||
get diets(): string[]{
|
|
||||||
return this._diets;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue