<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use \App\Models\Prize;

class PrizeSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Prize::truncate();
        Prize::insert([
            [
                'activity_id' => '1',
                'name' => '普獎現金 1,200 元',
                'provider' => '亞新',
                'count' => 0,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '現金 16,800 元',
                'provider' => '亞新',
                'count' => 2,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '現金 12,000 元',
                'provider' => '亞新',
                'count' => 1,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '現金 10,000 元',
                'provider' => '亞新',
                'count' => 1,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '大潤發禮券 10,000 元',
                'provider' => '亞新',
                'count' => 4,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '現金 8,800 元',
                'provider' => '亞新',
                'count' => 5,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '大潤發禮券 8,000 元',
                'provider' => '亞新',
                'count' => 6,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '現金 6,600 元',
                'provider' => '亞新',
                'count' => 13,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '大潤發禮券 6,000 元',
                'provider' => '亞新',
                'count' => 10,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '大潤發禮券 3,000 元',
                'provider' => '亞新',
                'count' => 80,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '大潤發禮券 2,000 元',
                'provider' => '亞新',
                'count' => 50,
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'activity_id' => '1',
                'name' => '福利即享券 2,000 元',
                'provider' => '亞新',
                'count' => 50,
                'created_at' => now(),
                'updated_at' => now(),
            ],
        ]);
    }
}
