From f4ab8e71a823aa62b3f97e7be535301cd673235f Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Fri, 7 May 2021 00:14:27 +0200 Subject: [PATCH] v1 --- mcd_simplifie.txt | 115 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 mcd_simplifie.txt diff --git a/mcd_simplifie.txt b/mcd_simplifie.txt new file mode 100644 index 00000000..20c273a9 --- /dev/null +++ b/mcd_simplifie.txt @@ -0,0 +1,115 @@ +ancien modèle ludo + +digraph G { + inventories -> articles + article_prices -> article_families + + customer_adresses -> customers + payments -> orders + packages -> articles_families + unities -> packages + prices -> articles + prices -> articles_families + prices -> price_generics + prices -> packages + prices -> unities + prices -> taxes + price_generics -> price_generic_categories + price_generic_categories -> articles_families + price_generic_values -> price_generics + price_generic_values -> packages + price_generic_values -> unities + price_generic_values -> taxes + unities -> packages + + invoices -> customers + invoice_items -> invoices + invoice_items -> articles + invoice_items -> taxes + orders -> customers + + articles -> botanic_variétés + articles -> botanic_especes + articles -> articles_families + produits -> botanic_variétés + produits -> botanic_especes + botanic_variétés -> botanic_especes + botanic_especes -> botanic_genres + botanic_genres -> botanic_familles +} + + +nouveau modèle ludo + +# Place the cursor inside "graph" to get some refactoring options + +digraph G { + + articles -> produits_déclinaisons + offres -> articles + offres -> produits_déclinaisons + offres -> tarifs + produits_déclinaisons -> packages + produits_déclinaisons -> unités + clients -> canaux_distribution + clients_adresses -> clients + tarifs -> canaux_distribution + factures -> clients + factures_lignes -> factures + factures_lignes -> offres + + articles -> produits_categories + articles -> boutique_rayons + articles -> botanic_variétés + articles -> botanic_especes + botanic_variétés -> botanic_especes + botanic_especes -> botanic_genres + botanic_genres -> botanic_familles +} + + + +------------------------ + +modèle Patrice + + +digraph G { + shop_offers -> articles + shop_offers -> prod_declinations + offers_tariffs -> shop_offers + offers_tariffs -> mkt_tariffs + mkt_tariffs -> sales_channels + mkt_tariffs -> mkt_tariff_blocks + mkt_tariffs -> shop_offers + mkt_tariffs_values -> mkt_tariffs + mkt_tariffs_values -> sales_channels + mkt_tariffs_values -> mkt_price_unities + mkt_tariffs_values -> taxes + shop_session_baskets -> sales_channels + shop_session_baskets -> customers + customer_sales_channels -> sales_channels + customer_sales_channels -> customers + customer_adresses -> customers + sales_channels -> sales_business_partners + shop_basket_items -> shop_session_baskets + shop_basket_items -> shop_offers + prod_declinations -> shop_offers + prod_declinations -> prod_packages + prod_declinations -> prod_unities + + articles -> produits + shop_invoice_items -> shop_invoices + shop_invoice_items -> taxes + shop_invoices -> customers + shop_orders -> customers + shop_orders -> sales_channels + shop_order_items -> shop_offers + shop_order_items -> shop_orders + shop_order_payments -> shop_orders + produits -> botanic_variétés + produits -> botanic_especes + botanic_variétés -> botanic_especes + botanic_especes -> botanic_genres + botanic_genres -> botanic_familles +}