<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WorkCalendar extends Model
{
    protected $fillable = ['year', 'standard_work_days_per_week', 'working_days'];

    protected $casts = [
        'working_days' => 'array', // Otomatis mengubah JSON menjadi Array
    ];
}