| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /* * ********************************************************************
- * ProxmoxAddon product developed. (Aug 22, 2018)
- * *
- *
- * CREATED BY MODULESGARDEN -> http://modulesgarden.com
- * CONTACT -> contact@modulesgarden.com
- *
- *
- * This software is furnished under a license and may be used and copied
- * only in accordance with the terms of such license and with the
- * inclusion of the above copyright notice. This software or any other
- * copies thereof may not be provided or otherwise made available to any
- * other person. No title to and ownership of the software is hereby
- * transferred.
- *
- *
- * ******************************************************************** */
- namespace ModulesGarden\ProxmoxAddon\App\Models;
- use Illuminate\Database\Eloquent\model as EloquentModel;
- use ModulesGarden\ProxmoxAddon as main;
- /**
- * Description of RangeVm
- *
- * @author Pawel Kopec <pawelk@modulesgardne.com>
- * @property int $id
- * @property int $hosting_id
- * @property string $upid
- * @property string $name
- * @property string $description
- * @property string $node
- * @property int $vmid
- * @property int $status
- * @property string $start_time
- * @property main\Core\Models\Whmcs\Hosting $hosting related client hosting
- */
- class TaskHistory extends EloquentModel
- {
- public $timestamps = false;
- protected $table = 'mg_proxmox_addon_tasks';
- /**
- *
- *
- */
- protected $guarded = ['id'];
- /**
- *
- * @var array
- */
- protected $fillable = ['id', 'hosting_id', 'upid', 'name', 'description', 'node', 'vmid', 'status', 'start_time'];
- protected $softDelete = true;
- public function hosting()
- {
- return $this->belongsTo(main\Core\Models\Whmcs\Hosting::class, 'hosting_id');
- }
- }
|