<?php

namespace App\Models;

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

class Vendor extends Authenticatable
{
    use HasFactory;
    use Notifiable;
    
    protected $guard = 'vendor';
    
    protected $fillable = [
        'name', 'email', 'mobile', 'username', 'password', 'pin', 'status', 'point_bal', 'cash_bal', 'products', 'shops', 'agents', 'image', 'country', 'address', 'created_at', 'updated_at',
    ];
    
    protected $hidden = [
        'password', 'remember_token',
    ];
}
