<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\QAAnswerOptions;

class QAAnswerOptionsDemoSeeder extends Seeder
{
    public function run()
    {
        //Set 1
       // Option 1 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Billing";
       $answerOption->value = "Billing";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 2 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Shipping";
       $answerOption->value = "Shipping";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 3 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Returns";
       $answerOption->value = "Returns";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 4 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Product Information";
       $answerOption->value = "Product Information";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 5 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Technical Support";
       $answerOption->value = "Technical Support";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 6 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Shipping Fee Calculation";
       $answerOption->value = "Shipping Fee Calculation";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 600;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 7 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Error-in Measurements";
       $answerOption->value = "Error-in Measurements";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 700;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 8 for Question 10
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Contact Us";
       $answerOption->value = "Contact Us";
       $answerOption->question_number = 10;
       $answerOption->next_question_number = 800;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

        // Option 1 for Question 20
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Option 1 for Question 20";
        $answerOption->value = "Option 1 for Question 20";
        $answerOption->question_number = 20;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();

        // Option 2 for Question 20
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Option 2 for Question 20";
        $answerOption->value = "Option 2 for Question 20";
        $answerOption->question_number = 20;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();

       // Option 1 for Question 100
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Option 1 for Question 100";
       $answerOption->value = "Option 1 for Question 100";
       $answerOption->question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 2 for Question 100
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Option 2 for Question 100";
       $answerOption->value = "Option 2 for Question 100";
       $answerOption->question_number = 100;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 1 for Question 30
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Option 1 for Question 30";
       $answerOption->value = "Option 1 for Question 30";
       $answerOption->question_number = 30;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 2 for Question 30
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Option 2 for Question 30";
       $answerOption->value = "Option 2 for Question 30";
       $answerOption->question_number = 30;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();

       // Option 3 for Question 30
       $answerOption = new QAAnswerOptions;
       $answerOption->display_text = "Option 3 for Question 30";
       $answerOption->value = "Option 3 for Question 30";
       $answerOption->question_number = 30;
       $answerOption->questionnaire_set_id = 1;
       $answerOption->save();


        // Option 1 for Question 300
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Option 1 for Question 300";
        $answerOption->value = "Option 1 for Question 300";
        $answerOption->question_number = 300;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();

        // Option 2 for Question 300
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Option 2 for Question 300";
        $answerOption->value = "Option 2 for Question 300";
        $answerOption->question_number = 300;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();

        // Option 3 for Question 300
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Option 3 for Question 300";
        $answerOption->value = "Option 3 for Question 300";
        $answerOption->question_number = 300;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();

        // Option 1 for Question 600
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = '<h1>Et harum accusamus eum quis dolorum? </h1><p>Lorem ipsum dolor sit amet. Est corporis voluptas et repudiandae libero <em>Aut quis</em>! Est aperiam voluptatum eum quidem rerumnam deserunt sit internos possimus non dolore voluptate. Vel explicabo aliquam <strong>Sit sunt ut maxime voluptatibus non vero libero ad ratione dolore</strong>. </p><h2>Ea incidunt dolor in obcaecati harum ut dignissimos facilis! </h2><p>Et adipisci illo et laborum internos <strong>Nam aperiam est ipsa nisi non quia architecto ut itaque autem</strong>. Eos maiores sunt <em>Et voluptas aut expedita quidem aut odio repellendus eum neque voluptate</em> et iusto nisi vel consequatur quos. Sit doloribus omnis in minima illoQui soluta est omnis quasi vel officia reiciendis qui aliquid quis! Sed odit esse aut sint laborumEa internos et magni amet sed dolores omnis hic totam temporibus ut quia numquam. </p><ul><li>Est soluta praesentium ut vero obcaecati! </li><li>Sit nobis facere in porro rerum et quidem deserunt qui inventore odit. </li></ul><h3>Et laborum quaerat vel animi ipsum. </h3><p>Aut quos libero <a href="https://www.loremipzum.com" target="_blank">Et explicabo qui enim libero id rerum ipsa</a>. Est quod tempora est soluta enimaut quasi aut eligendi fugit et fugit Quis. </p>
        ';
        $answerOption->value = "Answer";
        $answerOption->question_number = 600;
        $answerOption->questionnaire_set_id = 1;
        $answerOption->save();


        // Set 2
        // Option 1 for Question 10
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "Yes";
        $answerOption->value = "Yes";
        $answerOption->question_number = 10;
        $answerOption->questionnaire_set_id = 3;
        $answerOption->save();

        // Option 2 for Question 10
        $answerOption = new QAAnswerOptions;
        $answerOption->display_text = "No";
        $answerOption->value = "No";
        $answerOption->question_number = 10;
        $answerOption->questionnaire_set_id = 3;
        $answerOption->save();
    }
}
