define(OwnerWayBillFeeDetail::class, function (Faker $faker) { $step = ['0-10000', '10000-50000', '50000-100000']; return [ 'waybill_id' => rand(1, 100), 'util_id' => rand(1, 7), 'step' => $faker->randomElement($step),//计数区间 'fuel_fee' => rand(1, 100),//燃油附加费 'service_fee' => rand(1, 100),//信息费 'originate_fee' => rand(1, 100),//起始计费 'originate_count' => rand(1, 100), //起始计数 'price' => rand(1, 100),//起始计数 'delivery_fee' => rand(1, 100),//送货费 'created_at' => now()->subMonth(), 'updated_at' => now()->subMonth(), ]; });