<?php

use Illuminate\Database\Seeder;

class ProductsSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        \DB::table('products')->delete();
        return;

        \DB::table('products')->insert(array (
                array (
                    'client_id' => 1,
                    'product_number' => 'ART0001',
                    'name' => 'Beispielprodukt 1',
                    'price_1' => 100.00,
                    'price_2' => 95.12,
                    'price_3' => 92.34,
                    'price_4' => 91.56,
                ),
                array (
                    'client_id' => 1,
                    'product_number' => 'ART0002',
                    'name' => 'Beispielprodukt 2',
                    'price_1' => 110.00,
                    'price_2' => 99.12,
                    'price_3' => 94.34,
                    'price_4' => 93.56,
                ),
                array (
                    'client_id' => 1,
                    'product_number' => 'ART0003',
                    'name' => 'Beispielprodukt 3',
                    'price_1' => 223.00,
                    'price_2' => 195.12,
                    'price_3' => 192.34,
                    'price_4' => 191.56,
                ),
        ));
    }
}
