define(Process::class, function (Faker $faker) { $status = ['待审核', '已驳回', '待接单', '待加工', '加工中', '待验收', '待交接', '交接完成']; return [ 'code' => $faker->uuid, 'owner_id' => random_int(1, 100), 'process_method_id' => random_int(1, 10), 'unit_price' => random_int(1, 100), 'status' => $faker->randomElement($status), 'remark' => $faker->sentence, 'balance_remark' => $faker->sentence, 'amount' => random_int(1, 100), 'completed_amount' => random_int(1, 100), 'created_at' => now()->subMonth(), 'updated_at' => now()->subMonth(), "designate_id" => random_int(1, 100), ]; });