<?php

namespace Modules\Vrc\Entities;

use Illuminate\Database\Eloquent\Model;

class VrcWorkCenter extends Model
{
    protected $table = 'vrc_work_centers';

    protected $fillable = [
        'business_id', 'location_id', 'name', 'name_ar', 'type', 'color', 'sort_order', 'is_active',
    ];

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

    public const TYPES = ['mechanical', 'body_paint', 'electrical', 'diagnostics', 'qc', 'wash', 'other'];
}
