ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/app/Models/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/app/Models/Upload.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Upload extends Model
{
    use SoftDeletes;

    /**
    * The attributes that are mass assignable.
    *
    * @var array
    */
    protected $fillable = [
        'file_original_name', 'file_name', 'user_id', 'extension', 'type', 'file_size',
    ];

    public function user()
    {
    	return $this->belongsTo(User::class);
    }
}

Zerion Mini Shell 1.0