You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
514 B
PHTML
25 lines
514 B
PHTML
4 years ago
|
<?php
|
||
|
|
||
|
namespace Database\Factories\Engelsystem\Models;
|
||
|
|
||
|
use Engelsystem\Models\Room;
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class RoomFactory extends Factory
|
||
|
{
|
||
|
/** @var string */
|
||
|
protected $model = Room::class;
|
||
|
|
||
|
/**
|
||
|
* @return array
|
||
|
*/
|
||
|
public function definition()
|
||
|
{
|
||
|
return [
|
||
|
'name' => $this->faker->unique()->firstName(),
|
||
|
'map_url' => $this->faker->url(),
|
||
|
'description' => $this->faker->text(),
|
||
|
];
|
||
|
}
|
||
|
}
|