<?php

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

use App\StationTaskCommodity;
use Faker\Generator as Faker;

$factory->define(StationTaskCommodity::class, function (Faker $faker) {
    $status = ['待处理','挂起','处理中','完成','异常','取消'];
    return [
        'station_id' => factory(\App\Station::class),
        'material_box_id' => factory(\App\MaterialBox::class),
        'commodity_id' => factory(\App\Commodity::class),
        'amount'=>rand(1,1000),
        "bin_number"=>rand(1,24),
        'order_id'=>factory(\App\Order::class),
        "status"=>'待处理',
    ];
});
