<?php
namespace Database\Factories;use App\Models\User;use Illuminate\Database\Eloquent\Factories\Factory;use Illuminate\Support\Facades\Hash;use Illuminate\Support\Str;
class UserFactory extends Factory {protected $model=User::class;public function definition():array{return ['name'=>fake()->name(),'email'=>fake()->unique()->safeEmail(),'phone'=>'+92300'.fake()->numerify('#######'),'password'=>Hash::make('password12345'),'can_send'=>false,'can_receive'=>false,'status'=>'active','remember_token'=>Str::random(10)];}}
