Page MenuHomePhorge

Chunk.php
No OneTemporary

Authored By
Unknown
Size
948 B
Referenced Files
None
Subscribers
None

Chunk.php

<?php
namespace App\Fs;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* The eloquent definition of a file chunk.
*
* @property int $id Chunk identifier
* @property string $chunk_id Chunk long identifier (storage file name)
* @property string $item_id Item identifier
* @property int $sequence Chunk sequence number
* @property int $size Chunk size
*/
class Chunk extends Model
{
use SoftDeletes;
/** @var array<int, string> The attributes that are mass assignable */
protected $fillable = ['item_id', 'chunk_id', 'sequence', 'deleted_at', 'size'];
/** @var string Database table name */
protected $table = 'fs_chunks';
/**
* The item (file) the chunk belongs to.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function item()
{
return $this->belongsTo(Item::class);
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 1:43 PM (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18855955
Default Alt Text
Chunk.php (948 B)

Event Timeline