File: /var/www/vhost/disk-apps/sigedo-demo.allup.com.co/app/Automaticprocess.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Automaticprocess extends Model
{
protected $guarded = ['id','created_at','updated_at'];
public function typeprocess(){
return $this->belongsTo(Typeprocess::class);
}
public function notification(){
return $this->belongsTo(Notification::class);
}
public function report(){
return $this->belongsTo(Report::class);
}
public function process(){
return $this->belongsTo(Process::class);
}
}