<?php

/** @var Factory $factory */

use App\Logistic;
use App\OrderCountingRecord;
use App\Owner;
use App\Shop;
use App\Warehouse;
use Carbon\Carbon;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;

$factory->define(OrderCountingRecord::class, function (Faker $faker) {
    return [
        'owner_id' => $faker->numberBetween(0, 100),
        'shop_id' => $faker->numberBetween(0, 100),
        'warehouse_id' => $faker->numberBetween(0, 100),
        'logistic_id' => $faker->numberBetween(0, 100),
        'date_target' => Carbon::now()->toDateString(),
        'counting_unit' => '日',
        'amount' => $faker->numberBetween(0, 100),
    ];
});
