define(Batch::class, function (Faker $faker) { $status = ['未处理','已处理','取消','处理中','挂起','异常']; $type = ['无']; return [ 'code' => $faker->uuid, 'type' => '无', 'wms_type' =>$faker->name, 'status' => $status[rand(0,count($status)-1)], 'wms_status' =>$faker->name, 'wms_created_at'=> $faker->date(), 'remark' => $faker->text(20), 'owner_id' => 1, ]; });