define(Procurement::class, function (Faker $faker) { return [ 'code' => $faker->uuid, 'owner_material_id' => random_int(1, 100), 'supplier_id' => random_int(1, 100), 'quantity' => random_int(1, 100), 'amount' => random_int(1, 100), 'unit_price' => random_int(1, 100), 'cost_price' => random_int(1, 100), 'status' => random_int(0, 11), 'initiator' => random_int(1, 100), 'type' => random_int(0, 100), 'deadline' => now(), 'created_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)), 'updated_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)), ]; });