feat: Initial commit for Saqel Platform architecture, backend, Docker, and documentation
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Question;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<Question>
|
||||
*/
|
||||
class QuestionFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'quiz_id' => QuizFactory::new(),
|
||||
'concept_id' => ConceptFactory::new(),
|
||||
'body' => fake()->sentence().'؟',
|
||||
'explanation' => fake()->paragraph(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user