ExamPaper.php 375 B

123456789101112131415
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class ExamPaper extends Model
  5. {
  6. protected $table = 'exam_papers';
  7. protected $primaryKey = 'id';
  8. public $incrementing = false;
  9. protected $keyType = 'string';
  10. public $timestamps = true;
  11. protected $fillable = ['id', 'title', 'total_score', 'duration', 'created_at', 'updated_at'];
  12. }