This commit is contained in:
2026-08-15 13:37:07 +03:30
commit ed719317f3
76 changed files with 14009 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class File
*
* @property int $id
* @property int|null $fileable_id
* @property string $fileable_type
* @property string $name
* @property string $extension
* @property int $size
* @property string $original_name
* @property string $path
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @package App\Models
*/
class File extends Model
{
protected $table = 'files';
public static $snakeAttributes = false;
protected $casts = [
'fileable_id' => 'int',
'size' => 'int'
];
protected $fillable = [
'fileable_id',
'fileable_type',
'name',
'extension',
'size',
'original_name',
'path'
];
}