mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
43 lines
733 B
PHP
43 lines
733 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Group extends Model
|
|
{
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $dateFormat = false;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'id',
|
|
'name',
|
|
'backfill_target',
|
|
'first_record',
|
|
'first_record_postdate',
|
|
'last_record',
|
|
'last_record_postdate',
|
|
'last_updated',
|
|
'minfilestoformrelease',
|
|
'minsizetoformrelease',
|
|
'active',
|
|
'backfill',
|
|
'description',
|
|
];
|
|
|
|
public function release()
|
|
{
|
|
return $this->hasMany('App\Models\Release', 'groups_id');
|
|
}
|
|
}
|