<?php

    return [
        "type"           => "productBluetoothVersion",
        "model"          => App\Models\ProductBluetoothVersion::class,
        "label"          => "product bluetooth versions",
        "label_singular" => "product bluetooth version",
        "template"       => FALSE,
        "hierarchic"     => FALSE,
        "group"          => "none",
        "showSlug"       => TRUE,
        "showUri"        => FALSE,
        "fields"         => [
            [
                "name"          => "title",
                "label"         => "Title",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ],
            [
                "name"          => "bluetooth_version_id",
                "label"         => "Bluetooth version",
                "type"          => "selectBox",
                "contentType"   => "bluetoothVersion",
                "allowInsert"   => true,
            ],
        ],
        "actions"        => [
            "insert", "edit", "delete"
        ]
    ];
