You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
465 B
19 lines
465 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class File extends Model
|
|
{
|
|
use HasFactory, SoftDeletes;
|
|
|
|
public $incrementing = false;
|
|
|
|
// In Laravel 6.0+ make sure to also set $keyType
|
|
protected $keyType = 'string';
|
|
|
|
protected $fillable = ['id', 'name', 'data', 'ext', 'contentType', 'created_by', 'organization_id'];
|
|
}
|
|
|