<?php

namespace App\Models\Meal;

use App\Traits\BelongsToStore;
use Illuminate\Database\Eloquent\Model;

class MealPlanTemplate extends Model
{
    use BelongsToStore;

    protected $fillable = [
        'store_id', 'name', 'stage', 'meals', 'status',
    ];

    protected function casts(): array
    {
        return [
            'meals' => 'array',
            'status' => 'integer',
        ];
    }
}
