. */ namespace Database\Factories; use App\Account; use Illuminate\Database\Eloquent\Factories\Factory; class AccountFactory extends Factory { protected $model = Account::class; public function definition() { return [ 'username' => $this->faker->username, 'domain' => config('app.sip_domain'), 'email' => $this->faker->email, 'user_agent' => $this->faker->userAgent, 'ip_address' => $this->faker->ipv4, 'creation_time' => $this->faker->dateTime, 'activated' => true ]; } }