<?php

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

class ClientDetailTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('client_details')->delete();
        DB::table('client_details')->insert([ 
            [
                "client_id" => 1,
                "name" => "路人1",
                "transaction_code" => 'T00001',
                "open_date" => Carbon::now(),
                "open_type" => 0,
                "open_status" => 0,
                "phone" => "02-12345678",
                "mobile" => "0987654321",
                "address" => "test",
                "gender" => 1,
                "country_id" => 1,
                "card_id" => "A0000000001",
                "birthday" => "1980-1-1"
            ]
        ]);
    }
}
