File: /var/www/vhost/disk-apps/sigedo-qas.allup.com.co/app/Userdocument.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Userdocument extends Model
{
protected $guarded = ['id','created_at','updated_at'];
public function user()
{
return $this->belongsTo(User::class);
}
public function filetype()
{
return $this->belongsTo(Filetype::class);
}
public function filestatus()
{
return $this->belongsTo(Filestatus::class);
}
public function userapprove()
{
return $this->belongsTo(User::class);
}
}