Add VideoData model and use it ib ReleaseExtra class

This commit is contained in:
DariusIII
2017-08-21 10:06:41 +02:00
parent 7684386926
commit 2b8e265ce0
3 changed files with 76 additions and 14 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class VideoData extends Model
{
/**
* @var string
*/
protected $table = 'video_data';
/**
* @var bool
*/
public $timestamps = false;
/**
* @var bool
*/
protected $dateFormat = false;
/**
* @var bool
*/
public $incrementing = false;
/**
* @var string
*/
protected $primaryKey = 'releases_id';
/**
* @var array
*/
protected $fillable = [
'releases_id',
'containerformat',
'overallbitrate',
'videoduration',
'videoformat',
'videocodec',
'videowidth',
'videoheight',
'videoaspect',
'videoframerate',
'videolibrary'
];
}