ok
Direktori : /home2/selectio/public_html/billingsoftwarenew/core/database/factories/ |
Current File : //home2/selectio/public_html/billingsoftwarenew/core/database/factories/BranchFactory.php |
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Branch> */ class BranchFactory extends Factory { /** * Define the model's default state. * * @return array<string, mixed> */ public function definition() { $branch = $this->faker->country(); return [ 'name' => $branch . '- Branch', 'code' => rand(1000, 9999), 'address' => $branch, 'email' => $this->faker->unique()->safeEmail(), 'mobile' => $this->faker->phoneNumber, ]; } }