Upload SQL
Analisi Tabelle
Relazioni
4
Mapping Nomi
5
Genera Output

Step 4: Mapping Nomi & Tipi

Verifica e modifica i nomi suggeriti per tabelle e colonne. I nomi sono stati giĆ  convertiti alle convenzioni Laravel (snake_case, plurale per tabelle, singolare per modelli).

Nome Originale TENANTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
code string NULL
slug string NULL UQ
custom_domain string NULL
store_enabled boolean NULL
theme string NULL
name string NULL
company_name string NULL
email string NULL
phone string NULL
address string NULL
vat_number string NULL
external_partner_id string NULL
logo_url string NULL
primary_color string NULL
secondary_color string NULL
accent_color string NULL
currency string NULL
timezone string NULL
date_format string NULL
is_active boolean NULL
is_master boolean NULL
commission_rate decimal NULL
trial_ends_at datetime NULL
subscription_ends_at datetime NULL
company_description string NULL
company_email string NULL
company_phone string NULL
company_address string NULL
company_city string NULL
company_province string NULL
company_zip string NULL
company_country string NULL
latitude decimal NULL
longitude decimal NULL
depot_latitude decimal NULL
depot_longitude decimal NULL
depot_address string NULL
center_latitude decimal NULL
center_longitude decimal NULL
center_radius_km decimal NULL
center_delivery_enabled boolean NULL
center_base_cost decimal NULL
center_base_cost_max_bikes integer NULL
center_cost_per_bike decimal NULL
center_free_delivery_days integer NULL
default_price_per_km decimal NULL
default_fixed_cost decimal NULL
facebook_url string NULL
instagram_url string NULL
whatsapp_number string NULL
website_url string NULL
logo_light string NULL
logo_dark string NULL
logo_footer string NULL
favicon string NULL
hero_title string NULL
hero_subtitle string NULL
hero_image string NULL
hero_cta_text string NULL
hero_cta_url string NULL
about_title string NULL
about_content text NULL
about_image string NULL
services json NULL
gallery_images json NULL
testimonials json NULL
meta_title string NULL
meta_description string NULL
meta_keywords string NULL
og_image string NULL
og_title string NULL
og_description string NULL
og_type string NULL
og_locale string NULL
twitter_card string NULL
twitter_site string NULL
twitter_title string NULL
twitter_description string NULL
twitter_image string NULL
business_type string NULL
opening_hours json NULL
price_range string NULL
geo_region string NULL
geo_placename string NULL
geo_country string NULL
canonical_url string NULL
robots_meta string NULL
sitemap_priority decimal NULL
sitemap_changefreq string NULL
default_language string NULL
alternate_languages json NULL
business_email string NULL
business_phone string NULL
business_address string NULL
business_postal_code string NULL
business_city string NULL
same_as string NULL
bike_seo_title_template string NULL
bike_seo_description_template string NULL
bike_og_title_template string NULL
bike_og_description_template string NULL
booking_intro_text text NULL
booking_terms text NULL
privacy_policy text NULL
font_family string NULL
button_style string NULL
custom_css text NULL
custom_js text NULL
custom_navbar_links json NULL
google_analytics_id string NULL
facebook_pixel_id string NULL
head_scripts text NULL
body_scripts text NULL
Nome Originale USERS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
name string NULL
email string NULL UQ
email_verified_at datetime NULL
password string NULL
remember_token string NULL
admin integer NULL
is_super_admin boolean NULL
colore_agenzia string NULL
tenants_id bigint(20) unsigned
Nome Originale CATEGORIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
managed_by_tenant_id bigint NULL
delivery_id bigint NULL
tipo string NULL
base decimal NULL
twoDay decimal NULL
threeDay decimal NULL
fourDay decimal NULL
fiveDay decimal NULL
sixDay decimal NULL
sevenDay decimal NULL
overprice decimal NULL
cover_image string NULL
caratteristiche text NULL
caratteristiche_en text NULL
attivo boolean NULL
bloccataSito boolean NULL
tenants_id bigint(20) unsigned
deliveries_id bigint(20) unsigned
Nome Originale BIKES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
owner_tenant_id bigint NULL
managed_by_tenant_id bigint NULL
category_id bigint NULL
id_punto_ritiro bigint NULL
name string NULL
slug string NULL UQ
seo_title string NULL
seo_description string NULL
seo_keywords string NULL
og_title string NULL
og_description string NULL
og_image string NULL
long_description text NULL
specifications json NULL
features json NULL
recommended_for string NULL
is_public boolean NULL
valore_acquisto decimal NULL
valore_vendita decimal NULL
taglia string NULL
taglia_dettaglio string NULL
manutenzione boolean NULL
manutenzione_started_at datetime NULL
cover_photo string NULL
bloccata boolean NULL
bloccataEsc boolean NULL
bloccataSito boolean NULL
unlock_code string NULL
unlock_code_updated_at datetime NULL
tenants_id bigint(20) unsigned
categories_id bigint(20) unsigned
deliveries_id bigint(20) unsigned
Nome Originale CONTRACTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
from_storefront boolean NULL
seller_tenant_id bigint NULL
rack_id bigint NULL
nome string NULL
cognome string NULL
tel string NULL
mail string NULL
nato_a string NULL
nato_il date NULL
comune_residenza string NULL
via_residenza string NULL
n_documento string NULL
data_documento date NULL
ente_documento string NULL
residenza_temp string NULL
data_inizio date NULL
data_fine date NULL
costo decimal NULL
importo_incassato decimal NULL
acconto_lasciato decimal NULL
esito string NULL
online boolean NULL
temporanei boolean NULL
indirizzo_consegna string NULL
indirizzo_riconsegna string NULL
note_cliente string NULL
path string NULL
sign string NULL
user string NULL
id_escursione bigint NULL
deposit_amount decimal NULL
deposit_status string NULL
deposit_paid_at datetime NULL
deposit_refunded_at datetime NULL
deposit_refund_method string NULL
deposit_transaction_id string NULL
deposit_refund_transaction_id string NULL
deposit_payment_token string NULL
deposit_link_sent_at datetime NULL
unlock_code_sent boolean NULL
unlock_code_sent_at datetime NULL
is_rack_rental boolean NULL
tenants_id bigint(20) unsigned
deliveries_id bigint(20) unsigned
Nome Originale ACCESSORIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
nome string NULL
image string NULL
price decimal NULL
twoDay decimal NULL
threeDay decimal NULL
fourDay decimal NULL
fiveDay decimal NULL
sixDay decimal NULL
sevenDay decimal NULL
overprice decimal NULL
is_default boolean NULL
quantita integer NULL
tenants_id bigint(20) unsigned
Nome Originale DELIVERIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
indirizzo_consegna string NULL
latitude decimal NULL
longitude decimal NULL
is_warehouse boolean NULL
is_rack boolean NULL
rack_capacity integer NULL
hotel_name string NULL
hotel_contact_email string NULL
hotel_contact_phone string NULL
zone string NULL
tenants_id bigint(20) unsigned
Nome Originale DELIVERY_ZONES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
name string NULL
is_active boolean NULL
latitude decimal NULL
longitude decimal NULL
address string NULL
radius_km decimal NULL
applies_to string NULL
pricing_type string NULL
fixed_cost decimal NULL
base_cost decimal NULL
max_bikes_base_cost integer NULL
cost_per_bike decimal NULL
free_delivery_days integer NULL
sort_order integer NULL
tenants_id bigint(20) unsigned
Nome Originale TENANT_PARTNERSHIPS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_a_id bigint NULL
tenant_b_id bigint NULL
status string NULL
requested_by_tenant_id bigint NULL
can_share_bikes boolean NULL
can_share_warehouses boolean NULL
can_cross_sell boolean NULL
notes text NULL
approved_at datetime NULL
suspended_at datetime NULL
revoked_at datetime NULL
tenants_id bigint(20) unsigned
Nome Originale BIKE_ASSIGNMENTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
owner_tenant_id bigint NULL
assigned_tenant_id bigint NULL
managed_by_tenant_id bigint NULL
assignment_type string NULL
bike_id bigint NULL
category_id bigint NULL
is_active boolean NULL
assigned_at datetime NULL
revoked_at datetime NULL
tenants_id bigint(20) unsigned
bikes_id bigint(20) unsigned
categories_id bigint(20) unsigned
Nome Originale ACCESSORY_ASSIGNMENTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
owner_tenant_id bigint NULL
assigned_tenant_id bigint NULL
managed_by_tenant_id bigint NULL
assignment_type string NULL
accessory_id bigint NULL
is_active boolean NULL
assigned_at datetime NULL
revoked_at datetime NULL
tenants_id bigint(20) unsigned
accessories_id bigint(20) unsigned
Nome Originale DELIVERY_ASSIGNMENTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
owner_tenant_id bigint NULL
assigned_tenant_id bigint NULL
delivery_id bigint NULL
permission_level string NULL
is_active boolean NULL
assigned_at datetime NULL
revoked_at datetime NULL
notes text NULL
tenants_id bigint(20) unsigned
deliveries_id bigint(20) unsigned
Nome Originale COMMISSION_TRANSACTIONS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
contract_id bigint NULL
contract_detail_id bigint NULL
seller_tenant_id bigint NULL
owner_tenant_id bigint NULL
managed_by_tenant_id bigint NULL
bike_id bigint NULL
rental_amount decimal NULL
commission_type string NULL
commission_rate decimal NULL
super_admin_commission_rate decimal NULL
partner_commission_rate decimal NULL
platform_commission_rate decimal NULL
owner_commission_rate decimal NULL
seller_commission_rate decimal NULL
is_p2p_transaction boolean NULL
commission_amount decimal NULL
owner_amount decimal NULL
seller_amount decimal NULL
partner_amount decimal NULL
platform_fee decimal NULL
platform_amount decimal NULL
status string NULL
paid_at datetime NULL
notes text NULL
tenants_id bigint(20) unsigned
contracts_id bigint(20) unsigned
bikes_id bigint(20) unsigned
Nome Originale COMMISSION_RULES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
rule_key string NULL UQ
description string NULL
owner_type string NULL
seller_type string NULL
manager_type string NULL
super_admin_percentage decimal NULL
partner_percentage decimal NULL
platform_percentage decimal NULL
owner_percentage decimal NULL
seller_percentage decimal NULL
is_p2p_rule boolean NULL
is_active boolean NULL
sort_order integer NULL
Nome Originale TENANT_COMMISSION_SETTINGS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
commission_type string NULL
commission_value decimal NULL
applies_to string NULL
category_id bigint NULL
is_active boolean NULL
notes text NULL
tenants_id bigint(20) unsigned
categories_id bigint(20) unsigned
Nome Originale TENANT_FEATURES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
feature_code string NULL
is_licensed boolean NULL
is_enabled boolean NULL
tenants_id bigint(20) unsigned
Nome Originale TENANT_PAYMENT_GATEWAYS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
gateway_type string NULL
is_active boolean NULL
is_default boolean NULL
credentials text NULL
settings json NULL
test_mode boolean NULL
tenants_id bigint(20) unsigned
Nome Originale TENANT_THEME
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
theme_key string NULL
is_active boolean NULL
tenants_id bigint(20) unsigned
Nome Originale PHOTOS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
path string NULL
bike_id bigint NULL
contract_id bigint NULL
bikes_id bigint(20) unsigned
Nome Originale BIKE_CONTRACT
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
contract_id bigint NULL
bike_id bigint NULL
bikes_id bigint(20) unsigned
contracts_id bigint(20) unsigned
Nome Originale BIKE_CONTRACT2
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
contract_id bigint NULL
bike_id bigint NULL
bikes_id bigint(20) unsigned
contracts_id bigint(20) unsigned
Nome Originale ACCESSORY_CONTRACTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
accessory_id bigint NULL
contract_id bigint NULL
qty integer NULL
contracts_id bigint(20) unsigned
accessories_id bigint(20) unsigned
Nome Originale CARTS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
bike bigint NULL
prezzo decimal NULL
giorni_noleggio integer NULL
path_foto string NULL
sessione string NULL
category_id bigint NULL
misura string NULL
prezzo_consegna decimal NULL
indirizzo_selezionato string NULL
indirizzo_categoria string NULL
categories_id bigint(20) unsigned
Nome Originale CART_SUMMARIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
sessione string NULL
email string NULL
abandoned_email_sent boolean NULL
tenant_id bigint NULL
prezzo_totale decimal NULL
indirizzo_consegna string NULL
pickup_latitude decimal NULL
pickup_longitude decimal NULL
indirizzo_riconsegna string NULL
return_latitude decimal NULL
return_longitude decimal NULL
delivery_cost decimal NULL
tenants_id bigint(20) unsigned
Nome Originale CART_ACCESSORIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
sessione string NULL
accessory_id bigint NULL
qty integer NULL
price_per_day decimal NULL
accessories_id bigint(20) unsigned
Nome Originale PRICE_DELIVERY
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
prezzo_km decimal NULL
costo_fisso decimal NULL
qta_minima integer NULL
qta_massima integer NULL
tenants_id bigint(20) unsigned
Nome Originale BIKE_SIZES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
name string NULL
details string NULL
tenant_id bigint NULL
tenants_id bigint(20) unsigned
Nome Originale RIFERIMENTO_MISURES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
min integer NULL
max integer NULL
misura_riferimento string NULL
Nome Originale PUNTI_RITIROS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
zona string NULL
Nome Originale ACTIVITY_LOGS
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
tenant_id bigint NULL
user_id bigint NULL
user_name string NULL
action string NULL
entity_type string NULL
entity_id bigint NULL
description text NULL
metadata json NULL
ip_address string NULL
level string NULL
tenants_id bigint(20) unsigned
users_id bigint(20) unsigned
Nome Originale NATIONAL_PREFIXES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
nazione string NULL
prefisso string NULL
Nome Originale USER_MANUAL_CATEGORIES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
name string NULL
slug string NULL UQ
icon string NULL
description string NULL
order integer NULL
is_active boolean NULL
roles json NULL
Nome Originale USER_MANUAL_ARTICLES
Colonna Originale Nuovo Nome Tipo Originale Tipo Laravel Info
id bigint PK
category_id bigint NULL
title string NULL
slug string NULL UQ
excerpt string NULL
content text NULL
tags json NULL
roles json NULL
order integer NULL
is_active boolean NULL
is_faq boolean NULL
views integer NULL
user_manual_categories_id bigint(20) unsigned
← Torna alle Relazioni