File: /var/www/vhosts/uat-api.tsprojects.net/admin.plotterbox.tsprojects.net/app/Models/Files.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Files extends Model
{
use HasFactory, SoftDeletes;
/*
| constant values.
| size in bytes
*/
const KB = 1024;
const MB = 1048576;
const GB = 1073741824;
const TB = 1099511627776;
/**
* The table relationships name change from snake_case to camelCase.
*
* @var string
*/
public static $snakeAttributes = false;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'tblFiles';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'fileName',
'filePath',
'fileSize',
'uploadedBy',
'mimeType',
];
}