<?php

namespace App\Models;

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

class HelpArticle extends Model
{
    use HasFactory;

    protected $fillable = ['help_category_id', 'title', 'slug', 'content', 'excerpt', 'keywords', 'sort_order', 'is_active'];

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