id = $id; $this->name = $name; $this->description = $description; $this->amount = $amount; $this->type = $type; $this->unit = $unit; $this->current = $current; } }