OwnerStoreOutFeeDetailFactory.php 703 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /** @var \Illuminate\Database\Eloquent\Factory $factory */
  3. use App\OwnerStoreOutFeeDetail;
  4. use Faker\Generator as Faker;
  5. $factory->define(OwnerStoreOutFeeDetail::class, function (Faker $faker) {
  6. return [
  7. 'owner_fee_detail_id' => random_int(1, 100),
  8. 'commodity_id' => random_int(1, 100),
  9. 'owner_id' => random_int(1, 100),
  10. 'source_bill' => $faker->uuid,
  11. 'work_name' => $faker->title,
  12. 'price' => random_int(1, 100),
  13. 'remark' => $faker->sentence,
  14. 'created_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)),
  15. 'updated_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)),
  16. ];
  17. });