<?php

namespace App\Models;

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

class User extends Authenticatable
{
    use HasFactory;

    protected $table = 'tbl_user';
    protected $guarded = array();

    protected $hidden = [
        'password',
    ];

    protected $casts = [
        'id' => 'integer',
        'user_name' => 'string',
        'full_name' => 'string',
        'email' => 'string',
        'password' => 'string',
        'country_code' => 'string',
        'mobile_number' => 'string',
        'country_name' => 'string',
        'type' => 'integer',
        'image_type' => 'integer',
        'image' => 'string',
        'bio' => 'string',
        'reference_code' => 'string',
        'wallet_coin' => 'integer',
        'device_type' => 'integer',
        'device_token' => 'string',
        'qr_code' => 'string',
        'is_account_verify' => 'integer',
        'status' => 'integer',
    ];
}
