<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SubCategory extends Model
{
    protected $table = 'sub_categories';

    protected $fillable = [
        'fk_category_id',
        'name',
    ];

    // Optionally, you can define timestamps if not already set in the database
    public $timestamps = true;

    // Specify the columns that should be mutated to dates
    protected $dates = ['created_at', 'updated_at'];
}
