mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 04:52:18 +08:00
19 lines
318 B
PHP
19 lines
318 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Nexus\Database\NexusDB;
|
|
|
|
class TorrentExtra extends NexusModel
|
|
{
|
|
public $timestamps = true;
|
|
|
|
protected $fillable = ['torrent_id', 'descr', 'ori_descr', 'media_info'];
|
|
|
|
public function torrent()
|
|
{
|
|
return $this->belongsTo(Torrent::class, 'torrent_id');
|
|
}
|
|
|
|
}
|