<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Exam extends Model
{
    use HasFactory;

    protected $table = 'tbl_exam';
    protected $guarded = array();

    protected $casts = [
        'id' => 'integer',
        'name' => 'string',
        'image' => 'string',
        'total_questions' => 'integer',
        'quiz_duration' => 'integer',
        'entry_fee' => 'integer',
        'min_winning_percentage' => 'integer',
        'winning_coin' => 'integer',
        'status' => 'integer',
    ];
}
