mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
34 lines
566 B
PHP
34 lines
566 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class File
|
|
* @package App\Models
|
|
* @version August 4, 2020, 4:36 am
|
|
*
|
|
* @property int $document_id
|
|
* @property array $file
|
|
* @property int $file_type_id
|
|
*/
|
|
class File extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'files';
|
|
|
|
protected $fillable = ['file'];
|
|
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'file' => 'array',
|
|
'deleted_at' => 'datetime',
|
|
];
|
|
}
|
|
|
|
}
|