<?php

namespace Modules\Bms\Entities;

use Illuminate\Database\Eloquent\Model;

/** A reusable QC checklist template (its items are run as an inspection). */
class BmsQcChecklist extends Model
{
    protected $table = 'bms_qc_checklists';

    protected $fillable = [
        'business_id', 'name', 'name_ar', 'event_type', 'stage', 'items', 'is_active', 'sort_order',
    ];

    protected $casts = [
        'items'      => 'array',
        'is_active'  => 'boolean',
        'sort_order' => 'integer',
    ];
}
