feat: Initial commit for Saqel Platform architecture, backend, Docker, and documentation

This commit is contained in:
Hamza-Ayed
2026-08-26 15:45:55 +03:00
commit d53b64500a
177 changed files with 19909 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class QuestionOption extends Model
{
protected $fillable = ['question_id', 'body', 'is_correct'];
protected $casts = [
'is_correct' => 'boolean',
];
public function question(): BelongsTo
{
return $this->belongsTo(Question::class);
}
}