public function column($type)
{
$type = (int) $type;
$map = [Attribute::TYPE_DROPDOWN => 'option_value', Attribute::TYPE_CHECKBOX => 'number_value', Attribute::TYPE_NUMBER => 'number_value', Attribute::TYPE_TEXT => 'text_value', Attribute::TYPE_SHORT_TEXT => 'string_value', Attribute::TYPE_CHECKBOX_LIST => 'option_value'];
return array_key_exists($type, $map) ? $map[$type] : 'string_value';
}