mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
48 lines
788 B
PHP
48 lines
788 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Notifications\Notifiable;
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
class User extends Authenticatable
|
|
{
|
|
use Notifiable;
|
|
|
|
const CREATED_AT = 'createddate';
|
|
const UPDATED_AT = 'updateddate';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $table = 'users';
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $dateFormat = false;
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'username',
|
|
'password',
|
|
'email',
|
|
'role',
|
|
'createddate',
|
|
'updateddate',
|
|
'host',
|
|
'rsstoken',
|
|
'invites',
|
|
'invitedby',
|
|
'userseed',
|
|
'notes',
|
|
];
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $hidden = ['password', 'rsstoken'];
|
|
}
|