WaybillPriceModelsSeeder.php 463 B

123456789101112131415161718192021222324
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class WaybillPriceModelsSeeder extends Seeder
  4. {
  5. /**
  6. * Run the database seeds.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. \App\WaybillPriceModel::create([
  13. 'carrier_id'=>1,
  14. 'province_id'=>1,
  15. 'city_id'=>1,
  16. 'unit_id'=>1,
  17. 'section'=>'0-5000',
  18. 'unit_price'=>2.3,
  19. 'initial_weight'=>50
  20. ]);
  21. }
  22. }