<?php

use Faker\Generator as Faker;

$factory->define(App\PurchaseOrder::class, function (Faker $faker) {
    return [
      'folio' => $faker->swiftBicNumber,
      'subtotal' => $faker->randomFloat($nbMaxDecimals = 2, $min = 0, $max = 999999),
      'total' => $faker->randomFloat($nbMaxDecimals = 2, $min = 0, $max = 999999),
      'status' => $faker->numberBetween($min = 1, $max = 4),
      'customer_id' => $faker->numberBetween($min = 1, $max = 10),
      'created_by_id' => $faker->numberBetween($min = 1, $max = 1),
    ];
});
