Initial commit - lms-v2 + CLAUDE.md
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Question extends Model
|
||||
{
|
||||
// Pastikan ini sesuai dengan nama tabel Anda di database (misalnya 'questions')
|
||||
protected $table = 'questions';
|
||||
|
||||
// Sesuaikan array ini dengan nama kolom yang ada di database Anda
|
||||
protected $fillable = [
|
||||
'question_text',
|
||||
'category',
|
||||
'type',
|
||||
'answer_a',
|
||||
'answer_b',
|
||||
'answer_c',
|
||||
'answer_d',
|
||||
'correct_answer'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user