<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Models\ServiceCategory;

class ServicePageCMS extends Model
{
    protected $table = 'service_page_cms'; // ✅ ONLY HERE
    protected $fillable = [
        'service_category_id',
        'description',
        'status'
    ];

    public function category()
    {
        return $this->belongsTo(ServiceCategory::class, 'service_category_id');
    }
}