36 lines
658 B
PHP
36 lines
658 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Notifications\Notifiable;
|
||
|
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||
|
|
||
|
class Customer extends Authenticatable
|
||
|
{
|
||
|
use Notifiable;
|
||
|
|
||
|
protected $table = 'mst_customer';
|
||
|
protected $primaryKey = 'id';
|
||
|
public $timestamps = false;
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $fillable = [
|
||
|
'username','email', 'password',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* The attributes that should be hidden for arrays.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $hidden = [
|
||
|
'password',
|
||
|
];
|
||
|
|
||
|
|
||
|
}
|