add basic import api
This commit is contained in:
@ -16,10 +16,11 @@ class DeviceFactory extends Factory
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
$device_type = $this->faker->randomElement(['projektor','computer','laptop','mikrofon','whiteboard','unbekannt']);
|
||||
return [
|
||||
'device_id' => $this->faker->uuid(),
|
||||
'title' => $this->faker->word(),
|
||||
'device_type' => $this->faker->domainWord(),
|
||||
'device_type' => $device_type,
|
||||
'description' => $this->faker->sentence(),
|
||||
'accessories' => $this->faker->word(),
|
||||
'rz_username_buyer' => $this->faker->name(),
|
||||
|
Reference in New Issue
Block a user