123456789101112131415161718192021222324252627 |
- <?php namespace App;
- use Illuminate\Auth\UserTrait;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Auth\Reminders\RemindableTrait;
- use Illuminate\Contracts\Auth\User as UserContract;
- use Illuminate\Contracts\Auth\Remindable as RemindableContract;
- class User extends Model implements UserContract, RemindableContract {
- use UserTrait, RemindableTrait;
- /**
- * The database table used by the model.
- *
- * @var string
- */
- protected $table = 'users';
- /**
- * The attributes excluded from the model's JSON form.
- *
- * @var array
- */
- protected $hidden = ['password', 'remember_token'];
- }
|