<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Stancl\Tenancy\Database\Concerns\CentralConnection;

class TaxonomyMap extends Model
{
    use CentralConnection;

    public const MAKE = 'master-make';

    protected $table = 'taxonomy_map';

    protected $fillable = [
        'taxonomy_type',
        'taxonomy_id',
        'term',
        'provider',
        'parent_id',
        'details',
    ];

    protected $casts = [
        'details' => 'array',
    ];
}
