3 namespace Database\Factories\Entities\Models;
5 use Illuminate\Database\Eloquent\Factories\Factory;
6 use Illuminate\Support\Str;
8 class BookshelfFactory extends Factory
11 * The name of the factory's corresponding model.
15 protected $model = \BookStack\Entities\Models\Bookshelf::class;
18 * Define the model's default state.
22 public function definition()
25 'name' => $this->faker->sentence,
26 'slug' => Str::random(10),
27 'description' => $this->faker->paragraph,