<?php

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

use App\Discount;
use App\Model;
use Faker\Generator as Faker;

$factory->define(Discount::class, function (Faker $faker) {
    return [
        "description"   => Str::random(10),
        "conditions"    => Str::random(10),
        "price"         => $faker->randomNumber(2),
        "percentatge"   => $faker->randomFloat(2),
        "active"        => $faker->randomElement([true,false])
    ];
});
