export class Workout { private _name: string private _duration: number private _calories: number private _repetitions: string private _image: string private _level: string get name(): string { return this._name; } get duration(): number { return this._duration; } get calories(): number { return this._calories; } get repetitions(): string { return this._repetitions; } get image(): string { return this._image; } get level(): string { return this._level; } constructor(name: string, duration: number, repetition: string, calories: number, image: string, level: string) { this._name = name; this._duration = duration; this._repetitions = repetition this._calories = calories; this._image = image; this._level = level; } }