first commit
This commit is contained in:
54
app/Models/VideoElement.php
Normal file
54
app/Models/VideoElement.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
/**
|
||||
* Class VideoElement
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $original_asset_url
|
||||
* @property uuid|null $asset_uuid
|
||||
* @property string|null $asset_url
|
||||
* @property string $type
|
||||
* @property float $time
|
||||
* @property int $track
|
||||
* @property float $duration
|
||||
* @property string $parameters
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
*/
|
||||
class VideoElement extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'video_elements';
|
||||
|
||||
protected $casts = [
|
||||
'time' => 'float',
|
||||
'track' => 'int',
|
||||
'duration' => 'float',
|
||||
'parameters' => 'object',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'parent_element_id',
|
||||
'external_reference',
|
||||
'asset_hash',
|
||||
'original_asset_url',
|
||||
'asset_uuid',
|
||||
'asset_url',
|
||||
'type',
|
||||
'time',
|
||||
'track',
|
||||
'duration',
|
||||
'parameters',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user