<?php

namespace App\Models;

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

class Article extends Model
{
    use HasFactory;

    // Mengizinkan kolom ini diisi secara massal
    protected $fillable = [
        'title', 
        'slug', 
        'meta_title',        
        'meta_description',  
        'focus_keyword',      // TAMBAHAN BARU
        'secondary_keywords', // TAMBAHAN BARU
        'tags',              
        'content', 
        'image', 
        'status'
    ];
}