| 1234567891011121314151617181920212223242526 |
- <?php
- /** @var \Illuminate\Database\Eloquent\Factory $factory */
- use App\OwnerStoreOutFeeDetail;
- use Faker\Generator as Faker;
- $factory->define(OwnerStoreOutFeeDetail::class, function (Faker $faker) {
- return [
- 'owner_fee_detail_id' => random_int(1, 100),
- 'commodity_id' => random_int(1, 100),
- 'owner_id' => random_int(1, 100),
- 'source_bill' => $faker->uuid,
- 'work_name' => $faker->title,
- 'price' => random_int(1, 100),
- 'remark' => $faker->sentence,
- 'created_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)),
- 'updated_at' => now()->subMonth()->startOfMonth()->addDays(random_int(0, 28)),
- ];
- });
|