JoseCage/kallun-api

View on GitHub
app/Models/User.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
 
namespace Kallun\Models;
 
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Kallun\Traits\UuidTrait as Uuids;
 
class User extends Authenticatable
{
use Notifiable, Uuids;
 
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email', 'phone', 'avatar', 'password',
];
 
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'phone', 'password', 'remember_token',
];
}