<?php

namespace App\Models\Admin;

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

class GuessPaperFiles extends Model
{
    use HasFactory;

    protected $table = 'guess_paper_files';

    protected $fillable = [
        'guess_paper_id',
        'type_id',
        'language_id',
        'position_order',
        'file_name',
        'file_path',
        'file_full_path',
        'is_protected',
        'file_password',
        'status'
    ];

    protected $casts = [
        'id' => 'integer',
        'guess_paper_id' => 'integer',
        'type_id' => 'integer',
        'language_id' => 'integer',
        'position_order' => 'integer',
        'file_name' => 'string',
        'file_path' => 'string',
        'file_full_path' => 'string',
        'is_protected' => 'boolean',
        'file_password' => 'string',
        'status' => 'string',
    ];
}
