<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class Member extends Authenticatable
{
    use HasFactory;
    use Notifiable;
    
    protected $guard = 'member';
    
    protected $fillable = [
        'name', 'email', 'mobile', 'username', 'sponsor', 'password', 'pin', 'status', 'point_bal', 'cash_bal', 'total_buy', 'image', 'country', 'address',  'created_at', 'updated_at',
    ];
    
    protected $hidden = [
        'password', 'remember_token',
    ];
}
