<?php

namespace Database\Seeders\PlumberService;

use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;

class PlumberServiceContractEntitiesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('contract_entities')->insert([
            [
                'id' => 201,
                'user_id' => 3,
                'contract_id' => 201,
                'entity_id' => 201,
                'entity_signature_id' => 201,
                'type' => 1,
                'status' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 202,
                'user_id' => 3,
                'contract_id' => 201,
                'entity_id' => 203,
                'entity_signature_id' => 203,
                'type' => 1,
                'status' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 203,
                'user_id' => 3,
                'contract_id' => 202,
                'entity_id' => 203,
                'entity_signature_id' => 203,
                'type' => 1,
                'status' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 204,
                'user_id' => 3,
                'contract_id' => 202,
                'entity_id' => 202,
                'entity_signature_id' => 202,
                'type' => 1,
                'status' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
        ]);
    }
}