26 lines
539 B
PHP
26 lines
539 B
PHP
<?php
|
|
|
|
namespace App\Models\Frontend;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
//use Illuminate\Database\Eloquent\Model;
|
|
use Laravel\Sanctum\HasApiTokens;
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
class User extends Authenticatable
|
|
{
|
|
use HasApiTokens, HasFactory, Notifiable;
|
|
|
|
protected $table = 'users';
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'email',
|
|
'contact_number',
|
|
'password',
|
|
'otp',
|
|
'is_verified',
|
|
];
|
|
}
|