You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LeftOvers/LeftOvers/Models/Profile.tsx

41 lines
953 B

export default class Profile {
public name: string;
public avatar: string;
public allergies: string[];
public diets: string[];
public isActive: string;
public isWaiting: string
constructor( name: string, avatar: string, allergies: string[], diets: string[], isActive: string, isWaiting: string) {
this.name = name;
this.avatar = avatar;
this.diets = diets;
this.allergies = allergies;
this.isActive = isActive;
this.isWaiting = isWaiting
}
// get name(): string {
// return this._name;
// }
// get avatar(): string{
// return this._avatar;
// }
// get allergies(): string[]{
// return this._allergies;
// }
// get diets(): string[]{
// return this._diets;
// }
// get isActive(): string{
// return this._isActive;
// }
// get isWaiting(): string{
// return this._isWaiting;
// }
}