feat: Initial commit for Saqel Platform architecture, backend, Docker, and documentation
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Quiz;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<Quiz>
|
||||
*/
|
||||
class QuizFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'lesson_id' => LessonFactory::new(),
|
||||
'title' => fake()->sentence(2),
|
||||
'trigger_seconds' => fake()->numberBetween(60, 600),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user