MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.trash/database/factories/UserEvaluationFactory.php
<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Models\UserEvaluation;
use Faker\Generator as Faker;
use Illuminate\Support\Str;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

$factory->define(UserEvaluation::class, function (Faker $faker) {
    return [
       	'user_id' => $faker->name,
        'evaluation_id' => $faker->name,  
        'evaluation_status_id' => 2,
        'is_started' => 0,
        'answer' => $faker->name,
        'answer_file' => 'a.pdf',
        'time_expend' =>2,
        'score' => null,
        'semantic_score' => 0,
        'terminology_score' => 0,
        'syntax_score' => 0,
        'quality_score' => 0,
        'beauty_score' => 0,
    ];
});