<?php

namespace App\Models;

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

class Ayat extends Model
{
    use HasFactory;

    protected $fillable = [
        'surah_id',
        'ayah_no',
        'ayah_number',
        'arabic_text',
        'arabic_text_simple',
        'english_translation',
        'transliteration',
        'juz',
        'manzil',
        'page',
        'ruku',
        'hizb_quarter',
    ];

    // Relationship to Surah
    public function surah()
    {
        return $this->belongsTo(Surah::class);
    }
}
