feat: Lernapp mit Mathe/Deutsch/Englisch, Münzsystem und Belohnungen

This commit is contained in:
root
2026-05-05 14:41:09 +00:00
parent 21e40cd2da
commit bd1640994c
45 changed files with 1522 additions and 58 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class AnswerOption extends Model {
public $timestamps = false;
protected $fillable = ['question_id','text','is_correct','sort_order'];
protected $casts = ['is_correct' => 'boolean'];
public function question() { return $this->belongsTo(Question::class); }
}