<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class ProductFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            "thumbnail" => "seeder/" . rand(1, 12) . ".png",
            "name" => [
                "id" => $this->faker->word(),
                "en" => $this->faker->word(),
                "kr" => $this->faker->word(),
            ],
            "description" => [
                "id" => $this->faker->paragraph(),
                "en" => $this->faker->paragraph(),
                "kr" => $this->faker->paragraph(),
            ],
            "shopee" => $this->faker->boolean(),
            "url_shopee" => $this->faker->url(),
            "tokopedia" => $this->faker->boolean(),
            "url_tokopedia" => $this->faker->url(),
        ];
    }
}
