You've already forked Atomcms-edit
Initial commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories\Shop;
|
||||
|
||||
use App\Models\Shop\WebsiteShopCategory;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class WebsiteShopCategoryFactory extends Factory
|
||||
{
|
||||
protected $model = WebsiteShopCategory::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'name' => $this->faker->word(),
|
||||
'slug' => $this->faker->slug(),
|
||||
'icon' => $this->faker->word(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user