feat: Initial commit for Saqel Platform architecture, backend, Docker, and documentation
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Lesson;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<Lesson>
|
||||
*/
|
||||
class LessonFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'course_id' => CourseFactory::new(),
|
||||
'title' => fake()->sentence(4),
|
||||
'order_index' => fake()->numberBetween(1, 100),
|
||||
'video_id' => 'vid_'.fake()->unique()->uuid(),
|
||||
'duration_seconds' => fake()->numberBetween(300, 3600),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user