<?php

use Carbon\Carbon;
use Illuminate\Database\Seeder;

class PowerTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {

        $insert = [
            [
                'power_no' => '1708080101090016',
                'has_power' => 40,
                'machine_id' => 1,
                'hatch_no' => 1,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
            [
                'power_no' => '1708080101090017',
                'has_power' => 10,
                'machine_id' => 1,
                'hatch_no' => 2,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
            [
                'power_no' => '1708080101090018',
                'has_power' => 80,
                'machine_id' => 1,
                'hatch_no' => 3,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
        ];
        DB::table('power')->insert($insert);
    }
}
