<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ConfServerPendding extends Model
{
    protected $table = 'conf_server_pendding';
     public $timestamps = false;
    protected $fillable = [
        'ServerID',
        'PatchID',
        'TaskDate',
        'TaskType',
        'TaskStatus',
        'TaskFinish',
        'TaskRunner',
    ];

    public function confSmartupdate()
    {
        return $this->belongsTo(ConfSmartupdate::class, 'PatchID', 'PID');
    }
}
