You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use App\Models\Traits\UserTrackable;
|
|
|
|
use Illuminate\Database\Eloquent\Concerns\HasUlids;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
|
|
|
|
class Customer extends Authenticatable
|
|
|
|
{
|
|
|
|
use HasFactory, HasUlids, UserTrackable, SoftDeletes;
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
'email',
|
|
|
|
'password',
|
|
|
|
'name',
|
|
|
|
'fullname',
|
|
|
|
'address',
|
|
|
|
'phone',
|
|
|
|
'image',
|
|
|
|
'referral_code',
|
|
|
|
'google_id',
|
|
|
|
'deposit_balance',
|
|
|
|
'coin_balance',
|
|
|
|
'identity_verified',
|
|
|
|
'identity_image',
|
|
|
|
'customer_level_id',
|
|
|
|
];
|
|
|
|
}
|