database/seeds/GoodsTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        create warehouse
        $warehouse = factory(App\Warehouse::class, 1)->create();
        create goods
        $all_goods = factory(App\AllGoods::class, 1)->create();
        $vendor_goods = factory(App\Good::class, 1)->create();
    }
public function run ( ) { }
Run the database seeds.
Run the database seeds .
//create categories //        $this->call(CategoriesTableSeeder::class); //create address //        $address = factory(App\Address::class, 1)->create(); // //        //create warehouse //        $warehouse = factory(App\Warehouse::class, 1)->create(); // //        //create goods //        $all_goods = factory(App\AllGoods::class, 1)->create(); //        $vendor_goods = factory(App\Good::class, 1)->create();