Files
newznab-tmux/app/Models/PredbHash.php
T
2017-09-25 13:38:39 +02:00

42 lines
630 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PredbHash extends Model
{
/**
* @var bool
*/
public $incrementing = false;
/**
* @var bool
*/
protected $dateFormat = false;
/**
* @var bool
*/
public $timestamps = false;
/**
* @var array
*/
protected $guarded = [];
/**
* @var string
*/
protected $primaryKey = 'hash';
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function predb()
{
return $this->belongsTo('App\Models\Predb', 'predb_id');
}
}