<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Pricing;
use Faker\Generator as Faker;
use Illuminate\Support\Str;

$factory->define(Pricing::class, function (Faker $faker) {
    return [
        "company_id" => null,
        "name" => "Roxe " . $faker->numberBetween(3, 20),
        "description" => $faker->sentence,
        "stripe_id" => $faker->uuid,
        "price" => $faker->randomFloat($nbMaxDecimals = NULL, $min = 0, $max = 150.0),
        "vat_included" => 0.21,
        "wod_counter" => $faker->randomNumber(1),
        "open_counter" => $faker->randomNumber(1),
        "total_counter" => $faker->randomNumber(1),
        "days" => $faker->randomElement([30, 60, 90, 180, 365]),
        "start_time" => date('H:i:s', rand(1,54000)),
        "end_time" => date('H:i:s', rand(1,54000))
    ];
});
