18 lines
430 B
PHP
18 lines
430 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
class User extends Authenticatable {
|
|
use HasFactory, Notifiable;
|
|
|
|
protected $table = 'users'; // Sesuaikan dengan nama tabel di database
|
|
|
|
protected $fillable = ['username', 'email','password'];
|
|
protected $hidden = ['password'];
|
|
}
|
|
|