id = $id; $this->description = $description; $this->assetType = $assetType; } } class TruckAsset extends Asset { public $model; public $license; public $towcapacity; public function __construct($id = 0, $description = '', $model = '', $license = '', $towcapacity = 0) { parent::__construct($id, $description, TRUCK); $this->model = $model; $this->license = $license; $this->towcapacity = $towcapacity; } } class TrailerAsset extends Asset { public $ownWeight; public $maxCargo; public $roof; public function __construct($id = 0, $description = '', $ownWeight = 0, $maxCargo = 0, $roof = 0) { parent::__construct($id, $description, TRAILER); $this->ownWeight = $ownWeight; $this->maxCargo = $maxCargo; $this->roof = $roof; } } class ToolAsset extends Asset { public $toolType; public $name; public $weight; public function __construct($id = 0, $description = '', $toolType = '', $name = '', $weight = 0) { parent::__construct($id, $description, TOOL); $this->toolType = $toolType; $this->name = $name; $this->weight = $weight; } } ?>