Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StockFactory.php 767B

123456789101112131415161718192021222324
  1. <?php
  2. /** @var \Illuminate\Database\Eloquent\Factory $factory */
  3. use App\Model\Data\StockRelease;
  4. use Faker\Generator as Faker;
  5. $factory->define(StockRelease::class, function (Faker $faker) {
  6. return [
  7. 'no_release' => $faker->unique()->numberBetween($min = 100, $max = 999),
  8. 'no_kantong' => $faker->numberBetween($min = 100, $max = 999),
  9. 'produk_id' => 1,
  10. 'golongan_darah_id' => 1,
  11. 'status_keterangan' => "Ok",
  12. 'user_checker_id' => 12,
  13. 'user_pengesah_id' => 14,
  14. 'is_delivery' => 'Y',
  15. 'tanggal_release' => '2020-03-23 01:00:00',
  16. 'tanggal_aftap' => '2020-01-31 12:59:00',
  17. 'volume_release' => '350.00',
  18. 'rhesus_id' => 1,
  19. 'unit_donor_darah_id' => 1,
  20. ];
  21. });