fitness-api/html/api/Models/Exercise.php
2020-03-28 18:57:49 +01:00

30 lines
623 B
PHP

<?php
class Exercise
{
public $id, $name, $description, $amount, $type, $unit, $current;
/**
* Workout constructor.
* @param $id
* @param $name
* @param $description
* @param $amount
* @param $type
* @param $unit
* @param $current
*/
public function __construct($id, $name, $description, $amount, $type, $unit, $current = 0)
{
$this->id = $id;
$this->name = $name;
$this->description = $description;
$this->amount = $amount;
$this->type = $type;
$this->unit = $unit;
$this->current = $current;
}
}