<?php

use Illuminate\Database\Seeder;

class ConsultingEvaluateSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach (\App\ConsultingRequest::cursor() as $consultingRequest) {
            factory(\App\ConsultingEvaluate::class)->create(
                [
                    'user_id' => $consultingRequest->user_id,
                    'consulting_request_id' => $consultingRequest->id,
//                    'user_name' => $consultingRequest->user_name,
//                    'user_phone' => $consultingRequest->user_phone,
//                    'user_email' => $consultingRequest->user_email,
//                    'consulting_type' => $consultingRequest->consulting_type,
//                    'consulting_way' => $consultingRequest->consulting_way,
//                    'consulting_date' => $consultingRequest->consulting_date,
//                    'consulting_time' => $consultingRequest->consulting_time,
                ]
            );
        }

    }
}
