OwnerStoreOutFeeReportFactory.php 602 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /** @var \Illuminate\Database\Eloquent\Factory $factory */
  3. use App\OwnerStoreOutFeeReport;
  4. use Faker\Generator as Faker;
  5. $factory->define(OwnerStoreOutFeeReport::class, function (Faker $faker) {
  6. return [
  7. 'owner_bill_report_id'=>random_int(1,100),
  8. 'owner_price_operation_id' => random_int(1, 100),
  9. 'counting_month'=>now()->subMonth()->startOfMonth()->toDateString(),
  10. 'step'=>'100-200',
  11. 'unit_id'=>random_int(1,10),
  12. 'unit_price'=>random_int(1,100),
  13. 'amount'=>random_int(1,100),
  14. 'owner_id'=>random_int(1,100),
  15. ];
  16. });