12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
31
database/factories/InvoiceBillingAddressFactory.php
Normal file
31
database/factories/InvoiceBillingAddressFactory.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\InvoiceBillingAddress;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<InvoiceBillingAddress>
|
||||
*/
|
||||
class InvoiceBillingAddressFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'salutation_key' => fake()->randomElement(['mr', 'mrs', 'diverse']),
|
||||
'title' => fake()->optional()->randomElement(['Dr.', 'Prof.']),
|
||||
'name' => fake()->company(),
|
||||
'address1' => fake()->streetAddress(),
|
||||
'address2' => fake()->optional()->secondaryAddress(),
|
||||
'postal_code' => fake()->postcode(),
|
||||
'city' => fake()->city(),
|
||||
'country_code' => 'DE',
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue