'litepie', /* * Package. */ 'package' => 'course', /* * Modules. */ 'modules' => ['course', 'subject', 'topic'], 'course' => [ 'model' => [ 'model' => \Litepie\Course\Models\Course::class, 'table' => 'courses', 'presenter' => \Litepie\Course\Repositories\Presenter\CoursePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'user_id', 'user_type', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'course/course', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Course', 'module' => 'Course', ], ], 'subject' => [ 'model' => [ 'model' => \Litepie\Course\Models\Subject::class, 'table' => 'subjects', 'presenter' => \Litepie\Course\Repositories\Presenter\SubjectPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'course_id', 'name', 'logo', 'descreption', 'slug', 'user_id', 'user_type', 'created_at', 'deleted_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'course/subject', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Course', 'module' => 'Subject', ], ], 'topic' => [ 'model' => [ 'model' => \Litepie\Course\Models\Topic::class, 'table' => 'topics', 'presenter' => \Litepie\Course\Repositories\Presenter\TopicPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'prasent_id', 'subject_id', 'title', 'descreption', 'images', 'vidio', 'link', 'slug', 'user_id', 'user_type', 'created_at', 'deleted_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'course/topic', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Course', 'module' => 'Topic', ], ], ];