<?php
namespace Database\Factories;
use App\Models\Merchant; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str;
final class MerchantFactory extends Factory { protected $model=Merchant::class; public function definition(): array { return ['public_id'=>'mrc_'.Str::ulid(),'name'=>fake()->company(),'email'=>fake()->unique()->safeEmail(),'password'=>'password-password','status'=>'active','email_verified_at'=>now(),'two_factor_enabled'=>false]; } }
