mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
41 lines
661 B
PHP
41 lines
661 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Yadakhov\InsertOnDuplicateKey;
|
|
|
|
class VideoAlias extends Model
|
|
{
|
|
use InsertOnDuplicateKey;
|
|
|
|
protected $table = 'videos_aliases';
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $dateFormat = false;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $incrementing = false;
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $guarded = [];
|
|
|
|
/**
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
*/
|
|
public function video()
|
|
{
|
|
return $this->belongsTo(Video::class, 'videos_id');
|
|
}
|
|
}
|